Skip to content

Commit

Permalink
tests/e2e_libvirt: install yq
Browse files Browse the repository at this point in the history
On commit 662d96b the workflow changed to get Go from versions.yaml
but yq is not installed so it fails.

Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm authored and Qi Feng Huo committed Nov 6, 2023
1 parent 098d5be commit b18675f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e_libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:

- name: Read properties from versions.yaml
run: |
sudo snap install yq
go_version="$(yq '.tools.golang' versions.yaml)"
[ -n "$go_version" ]
echo "GO_VERSION=${go_version}" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -198,4 +199,4 @@ jobs:
sudo qemu-img check /var/lib/libvirt/images/podvm-base.qcow2
echo "::endgroup::"
# Avoid running with `set -e` as command fails should be allowed
shell: bash {0}
shell: bash {0}

0 comments on commit b18675f

Please sign in to comment.