Skip to content

Commit

Permalink
chore(ci) download artifacts instead of rebuilding docs for e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd committed Nov 13, 2024
1 parent 29fc92e commit 26d47bd
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ jobs:
ui:
name: UI e2e tests
runs-on: ubuntu-latest
needs: code-tests
needs: [code-tests, documentation]
if: "!startsWith(github.ref, 'refs/heads/stable-')"

steps:
Expand Down Expand Up @@ -592,17 +592,12 @@ jobs:
ls -lR /home/runner/go/bin/
chmod uog+x /home/runner/go/bin/*
- name: Install doc dependencies
run: |
set -eux
sudo apt-get install aspell aspell-en
sudo snap install mdl
- name: Build docs (for the objects.inv.txt file to be available for the e2e tests)
shell: 'script -q -e -c "export TERM=xterm-256color; bash {0}"'
run: |
set -eux
make doc
- name: Download docs (for the objects.inv.txt file to be available for the e2e tests)
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: documentation
merge-multiple: true
path: doc/_build

- name: Run LXD daemon
run: |
Expand Down Expand Up @@ -631,9 +626,9 @@ jobs:
- name: Checkout LXD-UI
uses: actions/checkout@v4
with:
repository: 'canonical/lxd-ui'
ref: main
path: lxd-ui
repository: 'canonical/lxd-ui'
ref: main
path: lxd-ui

- name: Install Dotrun
run: sudo pip3 install dotrun
Expand Down

0 comments on commit 26d47bd

Please sign in to comment.