summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/cmd/ci.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/spack/spack/test/cmd/ci.py b/lib/spack/spack/test/cmd/ci.py
index b368b7d72d..c2c14410ca 100644
--- a/lib/spack/spack/test/cmd/ci.py
+++ b/lib/spack/spack/test/cmd/ci.py
@@ -1834,11 +1834,7 @@ def test_ci_generate_prune_env_vars(
):
"""Make sure environment variables controlling untouched spec
pruning behave as expected."""
- os.environ.update(
- {
- "SPACK_PRUNE_UNTOUCHED": "TRUE", # enables pruning of untouched specs
- }
- )
+ os.environ.update({"SPACK_PRUNE_UNTOUCHED": "TRUE"}) # enables pruning of untouched specs
filename = str(tmpdir.join("spack.yaml"))
with open(filename, "w") as f:
f.write(
@@ -1846,11 +1842,12 @@ def test_ci_generate_prune_env_vars(
spack:
specs:
- libelf
- gitlab-ci:
- mappings:
+ ci:
+ pipeline-gen:
+ - submapping:
- match:
- arch=test-debian6-core2
- runner-attributes:
+ build-job:
tags:
- donotcare
image: donotcare