-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 1.01 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
name: tests
on: [push]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
julia-version: ['1.3.0']
julia-arch: [x64, x86]
exclude:
- os: macos-latest
julia-arch: x86
steps:
- uses: actions/checkout@v1.0.0
- name: "Set Up Julia"
uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: "Instantiate Package"
run: julia --project=. -e 'using Pkg; Pkg.instantiate()'
- name: "Run Tests"
run: julia --project=. -e 'using Pkg; Pkg.test(coverage=true)'
- name: "Submit Test Coverage"
run: julia --project=. test/coverage.jl
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}