From 8b93c98fd93ff2843e4df7cc5b13561a831b1260 Mon Sep 17 00:00:00 2001 From: Alexander Held <45009355+alexander-held@users.noreply.github.com> Date: Tue, 10 Aug 2021 15:28:45 +0200 Subject: [PATCH] test: install Ghostscript in nightly tests (#253) * install Ghostscript in nightly tests for figure comparisons --- .github/workflows/dependencies-head.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index 71c8c86a..5d93a872 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -28,6 +28,7 @@ jobs: python -m pip uninstall --yes pyhf python -m pip install --upgrade --no-cache-dir git+git://github.com/scikit-hep/pyhf.git python -m pip list + sudo apt-get install ghostscript # for pdf comparison - name: Test with pytest run: | python -m pytest -r sx @@ -53,6 +54,7 @@ jobs: python -m pip uninstall --yes awkward python -m pip install --upgrade --no-cache-dir git+git://github.com/scikit-hep/awkward-1.0.git python -m pip list + sudo apt-get install ghostscript # for pdf comparison - name: Test with pytest run: | python -m pytest -r sx @@ -78,6 +80,7 @@ jobs: python -m pip uninstall --yes uproot python -m pip install --upgrade --no-cache-dir git+git://github.com/scikit-hep/uproot4.git python -m pip list + sudo apt-get install ghostscript # for pdf comparison - name: Test with pytest run: | python -m pytest -r sx @@ -104,6 +107,7 @@ jobs: python -m pip install --upgrade --no-cache-dir cython python -m pip install --upgrade --no-cache-dir git+git://github.com/scikit-hep/iminuit.git python -m pip list + sudo apt-get install ghostscript # for pdf comparison - name: Test with pytest run: | python -m pytest -r sx @@ -129,6 +133,7 @@ jobs: python -m pip uninstall --yes boost-histogram python -m pip install --upgrade --no-cache-dir git+git://github.com/scikit-hep/boost-histogram.git python -m pip list + sudo apt-get install ghostscript # for pdf comparison - name: Test with pytest run: | python -m pytest -r sx