Skip to content

Commit

Permalink
build-lxd.yml: Use compatible repository versions to run tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Knöppler <[email protected]>
  • Loading branch information
theCalcaholic committed Aug 19, 2024
1 parent 2471202 commit d044dc7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-lxd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: "${{ env.VERSION }}"
ref: "v1.54.3"
- name: Setup Firefox
continue-on-error: true
id: setup-firefox-browser-action
Expand Down Expand Up @@ -422,7 +422,7 @@ jobs:
sudo "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
exit 1
}
python nextcloud_tests.py --no-gui --skip-release-check "nextcloudpi.local" 443 4443 || {
python nextcloud_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
echo "Nextcloud test failed!"
echo "Geckodriver logs:"
tail -n 20 geckodriver.log >&2 || true
Expand Down Expand Up @@ -547,6 +547,10 @@ jobs:
ip="${ip/% *}"
sudo sed -i 's/^.*nextcloudpi.local.*$//g' /etc/hosts
echo "${ip} nextcloudpi.local" | sudo tee -a /etc/hosts
- name: Checkout current version
run: |
git fetch origin
git checkout "${{ env.VERSION }}"
- name: Test LXD Image
working-directory: ./tests
run: |
Expand Down

0 comments on commit d044dc7

Please sign in to comment.