File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run tests
2+
3+ env :
4+ JULIA_NUM_THREADS : 4
5+ on :
6+ pull_request :
7+ branches :
8+ - main
9+ jobs :
10+ test :
11+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ version :
17+ - ' 1.7.2'
18+ os :
19+ - ubuntu-latest
20+ - windows-latest
21+ - macos-latest
22+ arch :
23+ - x64
24+ steps :
25+ - uses : actions/checkout@v2
26+ - uses : julia-actions/setup-julia@v1
27+ with :
28+ version : ${{ matrix.version }}
29+ arch : ${{ matrix.arch }}
30+ - uses : actions/cache@v1
31+ env :
32+ cache-name : cache-artifacts
33+ with :
34+ path : ~/.julia/artifacts
35+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36+ restore-keys : |
37+ ${{ runner.os }}-test-${{ env.cache-name }}-
38+ ${{ runner.os }}-test-
39+ ${{ runner.os }}-
40+ - uses : julia-actions/julia-buildpkg@v1
41+ - uses : julia-actions/julia-runtest@v1
You can’t perform that action at this time.
0 commit comments