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+ branches : [master]
5+ tags : ["*"]
6+ pull_request :
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+ version :
15+ - ' 1.2'
16+ - ' 1' # automatically expands to the latest stable 1.x release of Julia
17+ - nightly
18+ os :
19+ - ubuntu-latest
20+ arch :
21+ - x64
22+ - x86
23+ include :
24+ # test macOS and Windows with latest Julia only
25+ - os : macOS-latest
26+ arch : x64
27+ version : 1
28+ - os : windows-latest
29+ arch : x64
30+ version : 1
31+ - os : windows-latest
32+ arch : x86
33+ version : 1
34+ steps :
35+ - uses : actions/checkout@v2
36+ - uses : julia-actions/setup-julia@v1
37+ with :
38+ version : ${{ matrix.version }}
39+ arch : ${{ matrix.arch }}
40+ - uses : actions/cache@v1
41+ env :
42+ cache-name : cache-artifacts
43+ with :
44+ path : ~/.julia/artifacts
45+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
46+ restore-keys : |
47+ ${{ runner.os }}-test-${{ env.cache-name }}-
48+ ${{ runner.os }}-test-
49+ ${{ runner.os }}-
50+ - uses : julia-actions/julia-buildpkg@v1
51+ - uses : julia-actions/julia-runtest@v1
52+ - uses : julia-actions/julia-processcoverage@v1
53+ - uses : codecov/codecov-action@v1
54+ with :
55+ file : lcov.info
56+ docs :
57+ name : Documentation
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v2
61+ - uses : julia-actions/setup-julia@v1
62+ with :
63+ version : ' 1'
64+ - run : |
65+ julia --project=docs -e '
66+ using Pkg
67+ Pkg.develop(PackageSpec(path=pwd()))
68+ Pkg.instantiate()'
69+ - run : julia --project=docs docs/make.jl
70+ env :
71+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments