diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 34a0de4e1acb..81d54d86c7cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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: | @@ -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