File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - main
6+ tags : ' *'
7+ pull_request :
8+ concurrency :
9+ # Skip intermediate builds: always.
10+ # Cancel intermediate builds: only if it is a pull request build.
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
13+ jobs :
14+ test :
15+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+ runs-on : ${{ matrix.os }}
17+ timeout-minutes : 40
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ version :
22+ - ' 1.10'
23+ - ' 1'
24+ - ' pre'
25+ os :
26+ - ubuntu-latest
27+ arch :
28+ - x64
29+ include :
30+ - os : windows-latest
31+ arch : x64
32+ version : 1
33+ - os : macOS-latest
34+ arch : x64
35+ version : 1
36+ steps :
37+ - uses : actions/checkout@v4
38+ - uses : julia-actions/setup-julia@v2
39+ with :
40+ version : ${{ matrix.version }}
41+ arch : ${{ matrix.arch }}
42+ - uses : actions/cache@v4
43+ env :
44+ cache-name : cache-artifacts
45+ with :
46+ path : ~/.julia/artifacts
47+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
48+ restore-keys : |
49+ ${{ runner.os }}-test-${{ env.cache-name }}-
50+ ${{ runner.os }}-test-
51+ ${{ runner.os }}-
52+ - uses : julia-actions/julia-buildpkg@v1
53+ - uses : julia-actions/julia-runtest@v1
54+ - uses : julia-actions/julia-processcoverage@v1
55+ - uses : codecov/codecov-action@v5
56+ with :
57+ files : lcov.info
58+ token : ${{ secrets.CODECOV_TOKEN }}
59+
You can’t perform that action at this time.
0 commit comments