From 4bd9fb0534e03cd4e4206db8f0ded1ad68efee7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sun, 14 Jul 2024 20:41:27 +0200 Subject: [PATCH] ci: Run inventory tests in CI --- .github/workflows/ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92f1c808..3dd91286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,12 @@ jobs: - name: Check for breaking changes in the API run: make check-api + - name: Store objects inventory for tests + uses: actions/upload-artifact@v4 + with: + name: objects.inv + path: site/objects.inv + exclude-test-jobs: runs-on: ubuntu-latest outputs: @@ -81,7 +87,9 @@ jobs: tests: - needs: exclude-test-jobs + needs: + - quality + - exclude-test-jobs strategy: matrix: os: @@ -123,5 +131,11 @@ jobs: UV_RESOLUTION: ${{ matrix.resolution }} run: make setup + - name: Download objects inventory + uses: actions/download-artifact@v4 + with: + name: objects.inv + path: site/ + - name: Run the test suite run: make test