-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (29 loc) · 1006 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
36
37
38
name: Unit Tests
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
push:
workflow_dispatch:
env:
JIVE_PROCS: 1
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: 1.8
- name: Install Latex Dependencies
run:
sudo apt update && sudo apt install -y pdf2svg texlive-latex-base texlive-binaries texlive-latex-extra texlive-luatex
- name: Install IRTools master
run: |
julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.build();'
- name: Unit Tests
run:
julia --project --check-bounds=yes --depwarn=yes -e 'import Pkg; Pkg.test(; coverage=true)'
- name: Codecov Upload
run:
julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder());'