summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/unit_tests.yaml2
-rwxr-xr-xshare/spack/qa/run-unit-tests2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index b36d331f6c..262cc4a7ec 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -332,7 +332,7 @@ jobs:
coverage xml
else
echo "ONLY PACKAGE RECIPES CHANGED [skipping coverage]"
- $(which spack) unit-test -x -m "not maybeslow"
+ $(which spack) unit-test -x -m "not maybeslow" -k "package_sanity"
fi
- uses: codecov/codecov-action@v1
if: ${{ needs.changes.outputs.with_coverage == 'true' }}
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 6cef3cf679..3bcfc6c400 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -44,7 +44,7 @@ spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
#-----------------------------------------------------------
if [[ "$ONLY_PACKAGES" == "true" ]]; then
echo "ONLY PACKAGE RECIPES CHANGED [skipping slow unit tests]"
- export PYTEST_ADDOPTS='-m "not maybeslow"'
+ export PYTEST_ADDOPTS='-k "package_sanity" -m "not maybeslow"'
fi
$coverage_run $(which spack) unit-test -x --verbose