Skip to content

Commit b7564b6

Browse files
authored
Adjust CI Julia versions (#102)
* Adjust CI Julia versions Test on min, lts, 1, and pre instead of hard coded versions and nightly. * Add a finalize step to use for branch protection rule
1 parent 20c256a commit b7564b6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/CI.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,28 @@ on:
66
- main
77
tags: '*'
88
jobs:
9+
finalize:
10+
timeout-minutes: 10
11+
needs: [test]
12+
if: always()
13+
runs-on: ubuntu-latest
14+
steps:
15+
- run: |
16+
echo test: ${{ needs.test.result }}
17+
- run: exit 1
18+
if: |
19+
(needs.test.result != 'success')
920
test:
1021
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1122
runs-on: ${{ matrix.os }}
1223
strategy:
1324
fail-fast: false
1425
matrix:
1526
version:
16-
- '1.0'
27+
- 'min'
28+
- 'lts'
1729
- '1'
18-
- 'nightly'
30+
- 'pre'
1931
os:
2032
- ubuntu-latest
2133
- macOS-latest

0 commit comments

Comments
 (0)