File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ - pull_request
5+ - release
6+
7+ jobs :
8+ build :
9+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ version :
14+ - ' 1.4'
15+ - ' nightly'
16+ os :
17+ - ubuntu-latest
18+ - macOS-latest
19+ # - windows-latest
20+ arch :
21+ - x64
22+ fail-fast : false
23+ steps :
24+ - uses : actions/checkout@v2
25+ - uses : julia-actions/setup-julia@v1
26+ with :
27+ version : ${{ matrix.version }}
28+ arch : ${{ matrix.arch }}
29+ - uses : actions/cache@v1
30+ env :
31+ cache-name : cache-artifacts
32+ with :
33+ path : ~/.julia/artifacts
34+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
35+ restore-keys : |
36+ ${{ runner.os }}-test-${{ env.cache-name }}-
37+ ${{ runner.os }}-test-
38+ ${{ runner.os }}-
39+ - uses : julia-actions/julia-buildpkg@latest
40+ # - uses: julia-actions/julia-runtest@latest
41+ - uses : julia-actions/julia-processcoverage@v1
42+ - uses : codecov/codecov-action@v1
43+ with :
44+ file : lcov.info
45+ env :
46+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
47+
48+ docs :
49+ name : Documentation
50+ runs-on : ubuntu-latest
51+ steps :
52+ - uses : actions/checkout@v2
53+ - uses : julia-actions/setup-julia@v1
54+ with :
55+ version : ' 1'
56+ - run : |
57+ julia --project=docs -e '
58+ using Pkg
59+ Pkg.develop(PackageSpec(path=pwd()))
60+ Pkg.instantiate()'
61+ - run : julia --project=docs docs/make.jl
62+ env :
63+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments