]> git.ipfire.org Git - thirdparty/dracut.git/blob - .github/workflows/fedora.yml
chore(tree): move tools into their own directory
[thirdparty/dracut.git] / .github / workflows / fedora.yml
1 ## The test container is created with https://github.com/dracutdevs/fedora-container
2
3 name: Fedora
4
5 on:
6 pull_request:
7 branches: [ master ]
8
9 jobs:
10 test:
11 runs-on: ubuntu-latest
12 timeout-minutes: 45
13 concurrency:
14 group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.fedora }}-${{ matrix.test }}
15 cancel-in-progress: true
16 strategy:
17 matrix:
18 fedora: [
19 "33",
20 "34",
21 "latest"
22 ]
23 test: [
24 "01",
25 "02",
26 "03",
27 "04",
28 "10",
29 "11",
30 "12",
31 "13",
32 "14",
33 "15",
34 "17",
35 "20",
36 "21",
37 "30",
38 "31",
39 "35",
40 "36",
41 "40",
42 "41",
43 "98",
44 ]
45 fail-fast: false
46 container:
47 image: quay.io/haraldh/dracut-fedora:${{ matrix.fedora }}
48 options: "--privileged -v /dev/kvm:/dev/kvm"
49 steps:
50 - name: "Checkout Repository"
51 uses: actions/checkout@v2
52 with:
53 fetch-depth: 0
54
55 - name: "Fedora-${{ matrix.fedora }} TEST-${{ matrix.test }}"
56 run: ./tools/fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}