-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (35 loc) · 1.15 KB
/
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
34
35
36
37
38
name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1", "pre", "nightly"]
julia-arch: [x64]
os: [ubuntu-latest]
exclude:
- os: macOS-latest
julia-arch: x86
steps:
- uses: actions/checkout@v2
- uses: serenity4/julia-lavapipe@v1
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ENV_KEY }}
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
- run: julia --color=yes --project -e 'using Pkg;
Pkg.Registry.add(Pkg.RegistrySpec(url = "[email protected]:serenity4/Graphics"));
Pkg.Registry.add(Pkg.RegistrySpec(url = "[email protected]:JuliaRegistries/General"));
Pkg.instantiate()'
- name: Run tests
run: julia --color=yes --project -e 'using Pkg; Pkg.test(coverage = false)'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v2
with:
files: lcov.info
env:
JULIA_PKG_USE_CLI_GIT: true