Skip to content

Commit

Permalink
bugfix: Unbork unit tests by passing --classic to snap install
Browse files Browse the repository at this point in the history
The snap command in the `tox -e install` environment needed
to have `--classic` appended since the Spack snap is classically confined.

Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Dec 13, 2023
1 parent c9bc710 commit 0582259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ commands =
[testenv:install]
description = Install locally built, unsigned snap on system.
commands =
bash -c "sudo snap install {toxinidir}/spack_*_amd64.snap --dangerous"
bash -c "sudo snap install {toxinidir}/spack_*_amd64.snap --dangerous --classic"

[testenv:unit]
description = Run unit tests
Expand Down

0 comments on commit 0582259

Please sign in to comment.