Skip to content

Commit 41641a5

Browse files
Add a Github CI action (#13)
1 parent 59016e4 commit 41641a5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- master
8+
tags: '*'
9+
pull_request:
10+
11+
jobs:
12+
test:
13+
name: Test on Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
julia-version: ['1.0', '1.1', '1.2', '1.3', 'nightly']
18+
julia-arch: [x64, x86]
19+
os: [ubuntu-latest, windows-latest, macOS-latest]
20+
exclude:
21+
- os: macOS-latest
22+
julia-arch: x86
23+
steps:
24+
- uses: actions/checkout@v1.0.0
25+
- uses: julia-actions/setup-julia@v1.0.1
26+
with:
27+
version: ${{ matrix.julia-version }}
28+
arch: ${{ matrix.julia-arch }}
29+
- uses: julia-actions/julia-runtest@v0.1.0
30+
- uses: julia-actions/julia-uploadcodecov@v0.1.0
31+
env:
32+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
33+
- uses: julia-actions/julia-uploadcoveralls@v0.1.0
34+
env:
35+
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

0 commit comments

Comments
 (0)