build(deps): bump actions/checkout from 3 to 4 #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
name: test-PDFs | |
path: test/*.pdf |