summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2023-03-10 15:31:40 -0600
committerGitHub <noreply@github.com>2023-03-10 13:31:40 -0800
commit181bb54372ad19bcd39b52e489c3af0d65c785b5 (patch)
tree3f3c70895ffaedc8f86516f520a9810a05cfa900 /lib
parentf3595da600cb79c16bf706320cbc6047239d4605 (diff)
downloadspack-181bb54372ad19bcd39b52e489c3af0d65c785b5.tar.gz
spack-181bb54372ad19bcd39b52e489c3af0d65c785b5.tar.bz2
spack-181bb54372ad19bcd39b52e489c3af0d65c785b5.tar.xz
spack-181bb54372ad19bcd39b52e489c3af0d65c785b5.zip
Hotfix: Fix CI unit test after CI refactor (#36004)
* Hotfix: Fix CI unit test after CI refactor
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