File tree Expand file tree Collapse file tree 4 files changed +75
-69
lines changed Expand file tree Collapse file tree 4 files changed +75
-69
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [master]
5+ pull_request :
6+ types : [opened, synchronize, reopened]
7+ jobs :
8+ test :
9+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ # Since MultivariatePolynomials doesn't have binary dependencies,
15+ # only test on a subset of possible platforms.
16+ include :
17+ - version : ' 1'
18+ os : ubuntu-latest
19+ arch : x64
20+ - version : ' 1.0'
21+ os : ubuntu-latest
22+ arch : x64
23+ - version : ' 1'
24+ os : ubuntu-latest
25+ arch : x86
26+ - version : ' nightly'
27+ os : ubuntu-latest
28+ arch : x64
29+ steps :
30+ - uses : actions/checkout@v2
31+ - uses : julia-actions/setup-julia@v1
32+ with :
33+ version : ${{ matrix.version }}
34+ arch : ${{ matrix.arch }}
35+ - uses : actions/cache@v1
36+ env :
37+ cache-name : cache-artifacts
38+ with :
39+ path : ~/.julia/artifacts
40+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
41+ restore-keys : |
42+ ${{ runner.os }}-test-${{ env.cache-name }}-
43+ ${{ runner.os }}-test-
44+ ${{ runner.os }}-
45+ - uses : julia-actions/julia-buildpkg@v1
46+ - uses : julia-actions/julia-runtest@v1
47+ with :
48+ depwarn : error
49+ - uses : julia-actions/julia-processcoverage@v1
50+ - uses : codecov/codecov-action@v1
51+ with :
52+ file : lcov.info
Original file line number Diff line number Diff line change 1+ name : Documentation
2+ on :
3+ push :
4+ branches : [master]
5+ tags : ' *'
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : julia-actions/setup-julia@latest
14+ with :
15+ # Build documentation on Julia 1.0
16+ version : ' 1.0'
17+ - name : Install dependencies
18+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
19+ - name : Build and deploy
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
22+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
23+ run : julia --project=docs/ docs/make.jl
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments