-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (39 loc) · 1.03 KB
/
tests.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: Tests
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- 'lts'
- '1'
os:
- ubuntu-latest
- windows-latest
- macOS-latest
arch:
- x64
exclude:
# MacOS not available on x86
- {os: 'macOS-latest', arch: 'x86'}
# Only test all os on the latest release
- {version: 'lts', os: 'windows-latest'}
- {version: 'lts', os: 'macOS-latest'}
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-uploadcodecov@latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}