Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2444dae

Browse files
committedMar 11, 2024·
doc building
1 parent 8f1b70b commit 2444dae

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed
 

‎.github/workflows/CI.yml

+23-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- main
6-
tags: '*'
6+
tags: ['*']
77
pull_request:
88
concurrency:
99
# Skip intermediate builds: always.
@@ -14,7 +14,6 @@ jobs:
1414
test:
1515
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1616
runs-on: ${{ matrix.os }}
17-
continue-on-error: ${{ matrix.version == 'nightly' }}
1817
strategy:
1918
fail-fast: false
2019
matrix:
@@ -24,8 +23,8 @@ jobs:
2423
- 'nightly'
2524
os:
2625
- ubuntu-latest
27-
- macOS-latest
2826
- windows-latest
27+
- macOS-latest
2928
arch:
3029
- x64
3130
steps:
@@ -34,19 +33,30 @@ jobs:
3433
with:
3534
version: ${{ matrix.version }}
3635
arch: ${{ matrix.arch }}
37-
- uses: actions/cache@v1
38-
env:
39-
cache-name: cache-artifacts
40-
with:
41-
path: ~/.julia/artifacts
42-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43-
restore-keys: |
44-
${{ runner.os }}-test-${{ env.cache-name }}-
45-
${{ runner.os }}-test-
46-
${{ runner.os }}-
36+
- uses: julia-actions/cache@v1
4737
- uses: julia-actions/julia-buildpkg@v1
4838
- uses: julia-actions/julia-runtest@v1
4939
- uses: julia-actions/julia-processcoverage@v1
5040
- uses: codecov/codecov-action@v2
5141
with:
5242
files: lcov.info
43+
docs:
44+
name: Documentation
45+
runs-on: ubuntu-latest
46+
permissions:
47+
contents: write
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: julia-actions/setup-julia@v1
51+
with:
52+
version: '1'
53+
- uses: julia-actions/julia-buildpkg@v1
54+
- uses: julia-actions/julia-docdeploy@v1
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
- run: |
58+
julia --project=docs -e '
59+
using Documenter: DocMeta, doctest
60+
using MapGen
61+
DocMeta.setdocmeta!(MapGen, :DocTestSetup, :(using MapGen); recursive=true)
62+
doctest(MapGen)'

0 commit comments

Comments
 (0)
Please sign in to comment.