Skip to content

Commit 9f3451c

Browse files
committed
Refresh CI, 1.9 to 1.10, move doctests to separate job
1 parent 18eb5e9 commit 9f3451c

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
version:
21-
- '1.9'
21+
- '1.10'
2222
- '1'
2323
- 'nightly'
2424
os:
@@ -33,8 +33,8 @@ jobs:
3333
version: ${{ matrix.version }}
3434
arch: ${{ matrix.arch }}
3535
- uses: julia-actions/cache@v1
36-
- name: Dev GeometryOpsCore`
37-
run: julia --project=. -e 'using Pkg; Pkg.develop(; path = joinpath(".", "GeometryOpsCore"))'
36+
- name: Dev GeometryOpsCore and add other packages
37+
run: julia --project=. -e 'using Pkg; Pkg.develop(; path = joinpath(".", "GeometryOpsCore"));'
3838
- uses: julia-actions/julia-buildpkg@v1
3939
- uses: julia-actions/julia-runtest@v1
4040
- uses: julia-actions/julia-processcoverage@v1
@@ -60,13 +60,28 @@ jobs:
6060
with:
6161
version: '1'
6262
- name: Build and add versions
63-
run: julia --project=docs -e 'using Pkg; Pkg.develop([PackageSpec(path = "."), PackageSpec(path = joinpath(".", "GeometryOpsCore"))]); Pkg.add([PackageSpec(name = "GeoMakie", rev = "master"), PackageSpec(name="GeoInterface", rev="bugfix_vars")])'
63+
run: julia --project=docs -e 'using Pkg; Pkg.add([PackageSpec(name = "GeoMakie", rev = "master")])'
6464
- uses: julia-actions/julia-docdeploy@v1
6565
with:
6666
install-package: false
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
70+
doctests:
71+
name: Doctests
72+
runs-on: ubuntu-latest
73+
permissions:
74+
contents: write
75+
statuses: write
76+
actions: write
77+
steps:
78+
- uses: actions/checkout@v2
79+
- uses: julia-actions/cache@v1
80+
- uses: julia-actions/setup-julia@v1
81+
with:
82+
version: '1'
83+
- name: Build and add versions
84+
run: julia --project=docs -e 'using Pkg; Pkg.add([PackageSpec(name = "GeoMakie", rev = "master")])'
7085
- run: |
7186
julia --project=docs -e '
7287
using Documenter: DocMeta, doctest

0 commit comments

Comments
 (0)