From 494e1146d9f111935bb218b91b8098346a4287cc Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Tue, 26 Sep 2023 11:46:55 +0200 Subject: [PATCH] update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fa657cd2..6998ce22f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: editable: true - name: Run unit tests and generate coverage report run: | - coverage run --source=graphnet -m pytest examples/ --ignore=examples/05_pisa/ + coverage run --source=graphnet -m pytest tests/ coverage xml -o coverage.xml - name: Work around permission issue run: | @@ -88,7 +88,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/ examples/ --ignore=tests/data/ --ignore=tests/deployment/ --ignore=examples/01_icetray/ --ignore=examples/05_pisa/ + coverage run --source=graphnet -m pytest tests/ --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/01_icetray/ coverage report -m build-macos: @@ -108,5 +108,5 @@ 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/ examples/ --ignore=tests/data/ --ignore=tests/deployment/ --ignore=examples/01_icetray/ --ignore=examples/05_pisa/ + coverage run --source=graphnet -m pytest tests/ --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/01_icetray/ coverage report -m