Hotfix: Fix CI unit test after CI refactor (#36004)

* Hotfix: Fix CI unit test after CI refactor
This commit is contained in:
kwryankrattiger 2023-03-10 15:31:40 -06:00 committed by GitHub
parent f3595da600
commit 181bb54372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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