File tree Expand file tree Collapse file tree 2 files changed +51
-29
lines changed
Expand file tree Collapse file tree 2 files changed +51
-29
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ push :
7+ branches :
8+ - master
9+ tags : ' *'
10+ jobs :
11+ test :
12+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ version :
18+ - ' 1.0'
19+ - ' 1'
20+ - ' nightly'
21+ os :
22+ - ubuntu-latest
23+ - macOS-latest
24+ - windows-latest
25+ arch :
26+ - x64
27+ steps :
28+ - uses : actions/checkout@v2
29+ - uses : julia-actions/setup-julia@v1
30+ with :
31+ version : ${{ matrix.version }}
32+ arch : ${{ matrix.arch }}
33+ - uses : actions/cache@v1
34+ env :
35+ cache-name : cache-artifacts
36+ with :
37+ path : ~/.julia/artifacts
38+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39+ restore-keys : |
40+ ${{ runner.os }}-test-${{ env.cache-name }}-
41+ ${{ runner.os }}-test-
42+ ${{ runner.os }}-
43+ - uses : julia-actions/julia-buildpkg@v1
44+ - uses : julia-actions/julia-runtest@v1
45+ - name : Revise tests
46+ if : ${{ matrix.os == 'ubuntu-latest' }}
47+ run : julia -e 'using Pkg; Pkg.develop(PackageSpec(path=".")); Pkg.add(PackageSpec(url="https://github.com/timholy/Revise.jl")); Pkg.test("Revise")'
48+ - uses : julia-actions/julia-processcoverage@v1
49+ - uses : codecov/codecov-action@v1
50+ with :
51+ file : lcov.info
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments