Skip to content

Commit 4f82df5

Browse files
authored
Add a Julia 1.10 job to CI
1 parent 6fac768 commit 4f82df5

File tree

1 file changed

+62
-5
lines changed

1 file changed

+62
-5
lines changed

.github/workflows/ci.yml

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,72 @@ permissions:
1717
contents: read
1818
jobs:
1919
test:
20-
name: Julia ${{ matrix.machine.version }} - ${{ matrix.machine.os }}-${{ matrix.machine.arch }}
21-
runs-on: ${{ matrix.machine.os }}
20+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}-${{ matrix.arch }}
21+
runs-on: ${{ matrix.os }}
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
machine:
25+
include:
2626
- version: 'nightly'
2727
os: ubuntu-latest
2828
arch: x64
29+
- version: '1.10'
30+
os: ubuntu-latest
31+
arch: x64
32+
- version: '1'
33+
os: ubuntu-latest
34+
arch: x64
35+
- version: '1'
36+
os: windows-latest
37+
arch: x64
38+
- version: '1'
39+
os: ubuntu-latest
40+
arch: x86
41+
steps:
42+
- uses: actions/checkout@v4
43+
- uses: julia-actions/setup-julia@v2
44+
with:
45+
version: ${{ matrix.version }}
46+
arch: ${{ matrix.arch }}
47+
- uses: julia-actions/cache@v1
48+
- uses: julia-actions/julia-buildpkg@v1
49+
- uses: julia-actions/julia-runtest@v1
50+
- uses: julia-actions/julia-processcoverage@v1
51+
- uses: codecov/codecov-action@v4
52+
with:
53+
file: lcov.info
54+
token: ${{ secrets.CODECOV_TOKEN }}
55+
name: CI
56+
on:
57+
push:
58+
branches:
59+
- main
60+
- release-*
61+
pull_request:
62+
types: [opened, synchronize, reopened]
63+
concurrency:
64+
# Skip intermediate builds: always.
65+
# Cancel intermediate builds: only if it is a pull request build.
66+
group: ${{ github.workflow }}-${{ github.ref }}
67+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
68+
# needed to allow julia-actions/cache to delete old caches that it has created
69+
permissions:
70+
actions: write
71+
contents: read
72+
jobs:
73+
test:
74+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}-${{ matrix.arch }}
75+
runs-on: ${{ matrix.os }}
76+
strategy:
77+
fail-fast: false
78+
matrix:
79+
include:
80+
- version: 'nightly'
81+
os: ubuntu-latest
82+
arch: x64
83+
- version: '1.10'
84+
os: ubuntu-latest
85+
arch: x64
2986
- version: '1'
3087
os: ubuntu-latest
3188
arch: x64
@@ -39,8 +96,8 @@ jobs:
3996
- uses: actions/checkout@v4
4097
- uses: julia-actions/setup-julia@v2
4198
with:
42-
version: ${{ matrix.machine.version }}
43-
arch: ${{ matrix.machine.arch }}
99+
version: ${{ matrix.version }}
100+
arch: ${{ matrix.arch }}
44101
- uses: julia-actions/cache@v1
45102
- uses: julia-actions/julia-buildpkg@v1
46103
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)