11name : CI
2+
23on :
34 push :
45 branches :
5- - master
6- paths : # Specifying which files to run CI/CD for
7- - src/**
8- - test/**
9- - Project.toml
6+ - master
7+ - main
8+ paths :
9+ - ' src/**'
10+ - ' test/**'
11+ - ' Project.toml'
1012 pull_request :
1113 paths :
12- - src/**
13- - test/**
14- - Project.toml
14+ - ' src/**'
15+ - ' test/**'
16+ - ' Project.toml'
17+
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
21+
1522jobs :
1623 test :
1724 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -20,21 +27,28 @@ jobs:
2027 fail-fast : false
2128 matrix :
2229 version :
23- - ' 1.6'
24- - ' 1.7'
25- - ' nightly'
30+ - ' 1.10' # New LTS (Minimum supported version)
31+ - ' 1' # Latest Stable (e.g., 1.11, 1.12)
2632 os :
2733 - ubuntu-latest
28- - macOS-latest
34+ - windows-latest
35+ - macos-13 # Intel macOS
2936 arch :
3037 - x64
38+ include :
39+ # Test Apple Silicon on the latest Julia
40+ - os : macos-14 # ARM macOS
41+ arch : aarch64
42+ version : ' 1'
43+
3144 steps :
32- - uses : actions/checkout@v2
33- - uses : julia-actions/setup-julia@v1
45+ - uses : actions/checkout@v4
46+ - uses : julia-actions/setup-julia@v2
3447 with :
3548 version : ${{ matrix.version }}
3649 arch : ${{ matrix.arch }}
37- - uses : actions/cache@v1
50+
51+ - uses : actions/cache@v4
3852 env :
3953 cache-name : cache-artifacts
4054 with :
@@ -44,11 +58,17 @@ jobs:
4458 ${{ runner.os }}-test-${{ env.cache-name }}-
4559 ${{ runner.os }}-test-
4660 ${{ runner.os }}-
61+
4762 - uses : julia-actions/julia-buildpkg@v1
63+
4864 - uses : julia-actions/julia-runtest@v1
4965 env :
50- GKSwstype : " 100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
66+ GKSwstype : " 100"
67+
5168 - uses : julia-actions/julia-processcoverage@v1
52- - uses : codecov/codecov-action@v1
69+
70+ - uses : codecov/codecov-action@v5
5371 with :
54- file : lcov.info
72+ files : lcov.info
73+ token : ${{ secrets.CODECOV_TOKEN }}
74+ fail_ci_if_error : false
0 commit comments