-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 882 Bytes
/
CI.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
name: CI
on:
push:
branches:
- main
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
pull_request:
branches:
- main
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1, 1.6]
julia-arch: [x64]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@v0.1
- uses: julia-actions/julia-runtest@v0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: julia-actions/julia-uploadcodecov@v0.1
if: ${{ startsWith(matrix.os, 'Ubuntu') && startsWith(matrix.julia-version, '1.6') }}