CI: reduce the amount of tests run in the original concretizer (#32179)
* CI: reduce the amount of tests run in the original concretizer * Don't test Python 3.6 on the original concretizer
This commit is contained in:
parent
2d6087995c
commit
6979d47cb6
2 changed files with 4 additions and 3 deletions
2
.github/workflows/unit_tests.yaml
vendored
2
.github/workflows/unit_tests.yaml
vendored
|
@ -106,8 +106,6 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- python-version: 2.7
|
- python-version: 2.7
|
||||||
concretizer: original
|
concretizer: original
|
||||||
- python-version: 3.6
|
|
||||||
concretizer: original
|
|
||||||
- python-version: 3.9
|
- python-version: 3.9
|
||||||
concretizer: original
|
concretizer: original
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -47,8 +47,11 @@ $coverage_run $(which spack) python -c "import spack.pkg.builtin.mpileaks; repr(
|
||||||
# Run unit tests with code coverage
|
# Run unit tests with code coverage
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
if [[ "$ONLY_PACKAGES" == "true" ]]; then
|
if [[ "$ONLY_PACKAGES" == "true" ]]; then
|
||||||
echo "ONLY PACKAGE RECIPES CHANGED [skipping slow unit tests]"
|
echo "ONLY PACKAGE RECIPES CHANGED [running only package sanity]"
|
||||||
export PYTEST_ADDOPTS='-k "package_sanity" -m "not maybeslow"'
|
export PYTEST_ADDOPTS='-k "package_sanity" -m "not maybeslow"'
|
||||||
|
elif [[ "$SPACK_TEST_SOLVER" == "original" ]]; then
|
||||||
|
echo "ORIGINAL CONCRETIZER [skipping slow unit tests]"
|
||||||
|
export PYTEST_ADDOPTS='-m "not maybeslow"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$coverage_run $(which spack) unit-test -x --verbose
|
$coverage_run $(which spack) unit-test -x --verbose
|
||||||
|
|
Loading…
Reference in a new issue