From 9f912a682c83fb487e96edfe8a14883dff3c003f Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Tue, 26 Sep 2023 15:08:50 +0200 Subject: [PATCH] change run priorities --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 988f6a4e9..465c1bc1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,8 +55,8 @@ jobs: editable: true - name: Run unit tests and generate coverage report run: | - coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities - coverage run --source=graphnet -m pytest tests/utilities + coverage run --source=graphnet -m pytest tests/ --ignore=tests/examples + coverage run --source=graphnet -m pytest tests/examples/01_icetray coverage xml -o coverage.xml - name: Work around permission issue run: | @@ -89,7 +89,7 @@ jobs: - name: Run unit tests and generate coverage report run: | set -o pipefail # To propagate exit code from pytest - coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/01_icetray/ + coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/01_icetray/ coverage run --source=graphnet -m pytest tests/utilities coverage report -m @@ -110,6 +110,6 @@ jobs: - name: Run unit tests and generate coverage report run: | set -o pipefail # To propagate exit code from pytest - coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/01_icetray/ + coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/01_icetray/ coverage run --source=graphnet -m pytest tests/utilities coverage report -m