Skip to content

Commit b7e02fb

Browse files
committed
Only make contrib nightly CI fallible.
1 parent 8831d47 commit b7e02fb

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

.github/workflows/ci.yml

+18-9
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,39 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
fallible: [false]
1716
platform:
1817
- { name: Linux, distro: ubuntu-latest, toolchain: stable }
1918
- { name: Windows, distro: windows-latest, toolchain: stable }
2019
- { name: macOS, distro: macOS-latest, toolchain: stable }
21-
- { name: Linux, distro: ubuntu-latest, toolchain: nightly }
2220
test:
23-
- { name: Debug, flag: }
21+
- { name: Debug }
2422
- { name: Contrib, flag: "--contrib" }
2523
- { name: Examples, flag: "--examples" }
2624
include:
27-
- platform: { name: Linux, distro: ubuntu-latest, toolchain: nightly }
25+
# Additional tests on Linux/stable.
26+
- platform: { name: Linux, distro: ubuntu-latest, toolchain: stable }
2827
test: { name: Core, flag: "--core" }
29-
fallible: true
3028
- platform: { name: Linux, distro: ubuntu-latest, toolchain: stable }
3129
test: { name: Release, flag: "--release" }
3230
- platform: { name: Linux, distro: ubuntu-latest, toolchain: stable }
3331
test: { name: UI, flag: "--ui" }
3432
fallible: true
33+
34+
# Additional tests on Linux/nightly.
3535
- platform: { name: Linux, distro: ubuntu-latest, toolchain: nightly }
36-
test: { name: UI, flag: "--ui" }
36+
test: { name: Debug }
37+
- platform: { name: Linux, distro: ubuntu-latest, toolchain: nightly }
38+
test: { name: Core, flag: "--core" }
39+
- platform: { name: Linux, distro: ubuntu-latest, toolchain: nightly }
40+
test: { name: Examples, flag: "--examples" }
41+
- platform: { name: Linux, distro: ubuntu-latest, toolchain: nightly }
42+
test: { name: Contrib, flag: "--contrib" }
3743
fallible: true
44+
45+
# Use the bigger 'C:/' from the "Switch Disk" step
3846
- platform: { name: Windows }
39-
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
47+
working-directory:
48+
"C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
4049

4150
steps:
4251
- name: Checkout Sources
@@ -112,7 +121,7 @@ jobs:
112121
Get-PSDrive
113122
114123
- name: Run Tests
115-
continue-on-error: ${{ matrix.fallible }}
124+
continue-on-error: ${{ matrix.fallible || false }}
116125
working-directory: ${{ matrix.working-directory || github.workspace }}
117-
run: ./scripts/test.sh ${{ matrix.test.flag }} -q
126+
run: ./scripts/test.sh ${{ matrix.test.flag || '' }} -q
118127
shell: bash

0 commit comments

Comments
 (0)