-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 920 Bytes
/
test.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
name: Run tests
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Edit ../../.mergify.yml when adding a new version.
julia-version: ['~1.5.0-rc1', '1.4', 'nightly']
fail-fast: false
name: Test Julia ${{ matrix.julia-version }}
steps:
- uses: actions/checkout@v2
- name: Setup julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- run: julia -e 'using Pkg; pkg"add [email protected]"'
- run: julia -e 'using Run; Run.prepare("test/environments/main")'
- run: julia -e 'using Run; Run.test(project="test/environments/main")'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella