]> git.ipfire.org Git - thirdparty/dracut.git/blob - .github/workflows/integration.yml
e83d531796c9524660b20a085c3ed919a2cd647d
[thirdparty/dracut.git] / .github / workflows / integration.yml
1 name: Integration Test
2
3 on:
4 pull_request:
5 branches: [ master ]
6
7 env:
8 DEBUGFAIL: "${{ secrets.ACTIONS_STEP_DEBUG && 'rd.debug' }}"
9
10 jobs:
11 test:
12 runs-on: ubuntu-latest
13 timeout-minutes: 30
14 concurrency:
15 group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
16 cancel-in-progress: true
17 strategy:
18 matrix:
19 container: [
20 "arch:latest",
21 "debian:latest",
22 "fedora:latest",
23 "opensuse:latest",
24 ]
25 test: [
26 "01",
27 "02",
28 "03",
29 "04",
30 "10",
31 "11",
32 "12",
33 "13",
34 "14",
35 "15",
36 "16",
37 "17",
38 "18",
39 "62",
40 "98",
41 ]
42 fail-fast: false
43 container:
44 image: ghcr.io/dracutdevs/${{ matrix.container }}
45 options: "--privileged -v /dev:/dev"
46 steps:
47 - name: "Checkout Repository"
48 uses: actions/checkout@v3
49 with:
50 fetch-depth: 0
51
52 - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
53 run: ./tools/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
54 network:
55 runs-on: ubuntu-latest
56 timeout-minutes: 45
57 concurrency:
58 group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}-${{ matrix.network }}
59 cancel-in-progress: true
60 strategy:
61 matrix:
62 container: [
63 "fedora:latest",
64 ]
65 network: [
66 "network-manager",
67 "network-legacy",
68 #"systemd-networkd",
69 #"connman",
70 ]
71 test: [
72 "20",
73 "30",
74 "35",
75 "40",
76 "60",
77 # "50", # times out
78 ]
79 fail-fast: false
80 container:
81 image: ghcr.io/dracutdevs/${{ matrix.container }}
82 options: "--privileged -v /dev:/dev"
83 steps:
84 - name: "Checkout Repository"
85 uses: actions/checkout@v3
86 with:
87 fetch-depth: 0
88
89 - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
90 run: USE_NETWORK=${{ matrix.network }} ./tools/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
91 openrc-musl:
92 runs-on: ubuntu-latest
93 timeout-minutes: 45
94 concurrency:
95 group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
96 cancel-in-progress: true
97 strategy:
98 matrix:
99 container: [
100 "gentoo:latest",
101 ]
102 test: [
103 "16",
104 ]
105 fail-fast: false
106 container:
107 image: ghcr.io/dracutdevs/${{ matrix.container }}
108 options: "--privileged -v /dev:/dev"
109 steps:
110 - name: "Checkout Repository"
111 uses: actions/checkout@v1
112 with:
113 fetch-depth: 0
114
115 - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
116 run: ./tools/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}