Hotfix: Fix CI unit test after CI refactor (#36004)
* Hotfix: Fix CI unit test after CI refactor
This commit is contained in:
parent
f3595da600
commit
181bb54372
@ -1834,11 +1834,7 @@ def test_ci_generate_prune_env_vars(
|
|||||||
):
|
):
|
||||||
"""Make sure environment variables controlling untouched spec
|
"""Make sure environment variables controlling untouched spec
|
||||||
pruning behave as expected."""
|
pruning behave as expected."""
|
||||||
os.environ.update(
|
os.environ.update({"SPACK_PRUNE_UNTOUCHED": "TRUE"}) # enables pruning of untouched specs
|
||||||
{
|
|
||||||
"SPACK_PRUNE_UNTOUCHED": "TRUE", # enables pruning of untouched specs
|
|
||||||
}
|
|
||||||
)
|
|
||||||
filename = str(tmpdir.join("spack.yaml"))
|
filename = str(tmpdir.join("spack.yaml"))
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
f.write(
|
f.write(
|
||||||
@ -1846,11 +1842,12 @@ def test_ci_generate_prune_env_vars(
|
|||||||
spack:
|
spack:
|
||||||
specs:
|
specs:
|
||||||
- libelf
|
- libelf
|
||||||
gitlab-ci:
|
ci:
|
||||||
mappings:
|
pipeline-gen:
|
||||||
|
- submapping:
|
||||||
- match:
|
- match:
|
||||||
- arch=test-debian6-core2
|
- arch=test-debian6-core2
|
||||||
runner-attributes:
|
build-job:
|
||||||
tags:
|
tags:
|
||||||
- donotcare
|
- donotcare
|
||||||
image: donotcare
|
image: donotcare
|
||||||
|
Loading…
Reference in New Issue
Block a user