File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 11name : CI
22on :
3+ pull_request :
4+ branches :
5+ - main
36 push :
47 branches :
58 - main
6- tags : ['*']
7- pull_request :
8- workflow_dispatch :
9+ tags : ' *'
910concurrency :
1011 # Skip intermediate builds: always.
1112 # Cancel intermediate builds: only if it is a pull request build.
1213 group : ${{ github.workflow }}-${{ github.ref }}
1314 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
15+ env :
16+ JULIA_NUM_THREADS : 2
1417jobs :
1518 test :
1619 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -33,11 +36,21 @@ jobs:
3336 with :
3437 version : ${{ matrix.version }}
3538 arch : ${{ matrix.arch }}
39+ - uses : actions/cache@v4
40+ env :
41+ cache-name : cache-artifacts
42+ with :
43+ path : ~/.julia/artifacts
44+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
45+ restore-keys : |
46+ ${{ runner.os }}-test-${{ env.cache-name }}-
47+ ${{ runner.os }}-test-
48+ ${{ runner.os }}-
3649 - uses : julia-actions/cache@v2
3750 - uses : julia-actions/julia-buildpkg@v1
3851 - uses : julia-actions/julia-runtest@v1
3952 - uses : julia-actions/julia-processcoverage@v1
4053 - uses : codecov/codecov-action@v5
4154 with :
42- files : lcov.info
55+ file : lcov.info
4356 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments