-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 983 Bytes
/
runtests.yml
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
name: runtests
on:
push:
paths: ['Project.toml', '**.jl', '!docs/**', '.github/workflows/runtests.yml']
branches:
- main
- revision
pull_request:
paths: ['Project.toml', '**.jl', '!docs/**', '.github/workflows/runtests.yml']
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
matrix:
version:
- '1.6'
- '1.10'
os:
- ubuntu-latest
- macOS-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/[email protected]
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest