-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.1 KB
/
run_tests.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
39
40
41
42
43
44
45
name: "Run tests"
on:
push
jobs:
run-tests:
runs-on: ubuntu-20.04
steps:
- name: Update apt repos
run: |
sudo apt-get -y update
- name: Install LaTeX basics
run: |
sudo apt-get -y install texlive
- name: Install prerequisites for Inkscape drawings
run: |
sudo apt-get -y install inkscape
- name: Install prerequisites for Gnuplot plots
run: |
sudo apt-get -y install gnuplot texlive texlive-fonts-extra texlive-science texlive-font-utils
- name: Install prerequisites for ROOT plots
run: |
sudo apt-get -y install build-essential libtbb-dev libtiff5 x11-apps git
cd /opt
wget --no-verbose https://root.cern/download/root_v6.22.06.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
sudo tar xf root_v6.22.06.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
- uses: actions/checkout@v4
- name: Run tests
run: |
. /opt/root/bin/thisroot.sh
./run_tests.sh
- name: Upload PDF artifacts
uses: actions/upload-artifact@v4
with:
name: test-PDFs
path: test/*.pdf