-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install jq/yq for more readable tests in tmt test suite
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
prepare+: | ||
# Install jq and yq for cleaner tests | ||
- how: install | ||
package: | ||
- jq | ||
- python3-pip | ||
|
||
- how: shell | ||
script: | ||
# Try to install into .local first, if that fails, try without --user. | ||
# In the sane world, tmt would be running in a virtualenv, and we'd | ||
# install yq there. Otherwise, we'd change system packages, but we'd | ||
# have to run as root to do that, and who's running tmt test suite | ||
# as root? | ||
- pip3 install --user yq || pip3 install yq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters