-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (39 loc) · 1.03 KB
/
UnitTests.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
40
41
42
43
44
45
46
47
48
name: Unit Tests
on:
pull_request:
jobs:
test:
timeout-minutes: 80
strategy:
fail-fast: true
matrix:
include:
- os: ubuntu-latest
julia-version: '1.9'
- os: windows-latest
julia-version: '1.9'
- os: macos-latest
julia-version: '1.9'
- os: ubuntu-latest
julia-version: '~1.10.0-rc1'
runs-on: ${{ matrix.os }}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/[email protected]
- name: Set up Julia
uses: julia-actions/setup-julia@v1
if: steps.filter.outputs.run_test == 'true'
with:
version: ${{ matrix.julia-version }}
- name: Cache artifacts
uses: julia-actions/cache@v1
- name: Build package
uses: julia-actions/julia-buildpkg@v1
- name: Run Unit Tests
uses: julia-actions/julia-runtest@v1
with:
annotate: true