File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ test :
7+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ version :
13+ - ' 1.0'
14+ - ' 1'
15+ - ' nightly'
16+ os :
17+ - ubuntu-latest
18+ - macOS-latest
19+ - windows-latest
20+ arch :
21+ - x64
22+
23+ steps :
24+ - uses : actions/checkout@v2
25+
26+ - uses : julia-actions/setup-julia@v1
27+ with :
28+ version : ${{ matrix.version }}
29+ arch : ${{ matrix.arch }}
30+
31+ - uses : actions/cache@v1
32+ env :
33+ cache-name : cache-artifacts
34+ with :
35+ path : ~/.julia/artifacts
36+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37+ restore-keys : |
38+ ${{ runner.os }}-test-${{ env.cache-name }}-
39+ ${{ runner.os }}-test-
40+ ${{ runner.os }}-
41+
42+ - run : |
43+ git config --global user.name Tester
44+ git config --global user.email te@st.er
45+
46+ - uses : julia-actions/julia-runtest@latest
47+ continue-on-error : ${{ matrix.version == 'nightly' }}
You can’t perform that action at this time.
0 commit comments