Skip to content

Commit 8ee08d0

Browse files
committed
CI: don't run heavy tests if the light one failed
1 parent e936dde commit 8ee08d0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
uses: ./.github/workflows/build-spellcheck.yml
1010

1111
no-features-test:
12+
needs: spellcheck
1213
name: No-features-test
1314
permissions:
1415
security-events: write
@@ -17,6 +18,7 @@ jobs:
1718
secrets: inherit
1819

1920
linux-hosts:
21+
needs: no-features-test
2022
name: Linux-${{ matrix.arch }}
2123
permissions:
2224
security-events: write
@@ -35,6 +37,7 @@ jobs:
3537
secrets: inherit
3638

3739
linux-i686:
40+
needs: no-features-test
3841
name: Linux-i686
3942
permissions:
4043
security-events: write
@@ -43,6 +46,7 @@ jobs:
4346
secrets: inherit
4447

4548
linux-armv7l:
49+
needs: no-features-test
4650
name: Linux-armv7l
4751
permissions:
4852
security-events: write
@@ -51,6 +55,7 @@ jobs:
5155
secrets: inherit
5256

5357
linux-armv6l:
58+
needs: no-features-test
5459
name: Linux-armv6l
5560
permissions:
5661
security-events: write
@@ -59,6 +64,7 @@ jobs:
5964
secrets: inherit
6065

6166
linux-vms:
67+
needs: no-features-test
6268
name: Linux-${{ matrix.arch }}
6369
permissions:
6470
security-events: write
@@ -75,11 +81,13 @@ jobs:
7581
secrets: inherit
7682

7783
musl-amd64:
84+
needs: no-features-test
7885
name: Musl-amd64
7986
uses: ./.github/workflows/build-musl-amd64.yml
8087
secrets: inherit
8188

8289
macos-hosts:
90+
needs: no-features-test
8391
name: macOS-${{ matrix.arch }}
8492
permissions:
8593
security-events: write
@@ -98,16 +106,19 @@ jobs:
98106
secrets: inherit
99107

100108
omnios-amd64:
109+
needs: no-features-test
101110
name: OmniOS-amd64
102111
uses: ./.github/workflows/build-omnios-amd64.yml
103112
secrets: inherit
104113

105114
solaris-amd64:
115+
needs: no-features-test
106116
name: Solaris-amd64
107117
uses: ./.github/workflows/build-solaris-amd64.yml
108118
secrets: inherit
109119

110120
freebsd-amd64:
121+
needs: no-features-test
111122
name: FreeBSD-amd64
112123
permissions:
113124
security-events: write
@@ -116,6 +127,7 @@ jobs:
116127
secrets: inherit
117128

118129
openbsd-amd64:
130+
needs: no-features-test
119131
name: OpenBSD-amd64
120132
permissions:
121133
security-events: write
@@ -124,6 +136,7 @@ jobs:
124136
secrets: inherit
125137

126138
netbsd-amd64:
139+
needs: no-features-test
127140
name: NetBSD-amd64
128141
permissions:
129142
security-events: write
@@ -132,6 +145,7 @@ jobs:
132145
secrets: inherit
133146

134147
dragonfly-amd64:
148+
needs: no-features-test
135149
name: DragonFly-amd64
136150
permissions:
137151
security-events: write
@@ -140,6 +154,7 @@ jobs:
140154
secrets: inherit
141155

142156
haiku-amd64:
157+
needs: no-features-test
143158
name: Haiku-amd64
144159
permissions:
145160
security-events: write
@@ -148,6 +163,7 @@ jobs:
148163
secrets: inherit
149164

150165
windows-hosts:
166+
needs: no-features-test
151167
name: Windows-${{ matrix.arch }}
152168
permissions:
153169
security-events: write

0 commit comments

Comments
 (0)