Skip to content

Commit 37e98f0

Browse files
committed
Add unit test Github actions.
1 parent 7dd744e commit 37e98f0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
julia-version: ['1.5', '1.6', '1.7', 'nightly']
11+
julia-arch: [x64, x86]
12+
os: [ubuntu-latest, windows-latest, macOS-latest]
13+
exclude:
14+
- os: macOS-latest
15+
julia-arch: x86
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: julia-actions/setup-julia@v1
20+
with:
21+
version: ${{ matrix.julia-version }}
22+
arch: ${{ matrix.julia-arch }}
23+
- uses: julia-actions/julia-buildpkg@v1
24+
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)