-
Notifications
You must be signed in to change notification settings - Fork 39
41 lines (32 loc) · 980 Bytes
/
DocTest.yml
File metadata and controls
41 lines (32 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# We want to only run doctests on a single version of Julia, because
# things like error messages / output can change between versions and
# is fragile to test against.
name: Doctests
on:
push:
branches:
- main
pull_request:
merge_group:
types: [checks_requested]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
# Cancel existing tests on the same PR if a new commit is added to a pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GROUP: Doctests