Skip to content

Commit

Permalink
ci: Run inventory tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jul 14, 2024
1 parent 4e7ef6c commit a77ca75
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v2
with:
name: objects.inv
path: site/objects.inv

exclude-test-jobs:
runs-on: ubuntu-latest
outputs:
Expand All @@ -81,7 +87,9 @@ jobs:
tests:

needs: exclude-test-jobs
needs:
- quality
- exclude-test-jobs
strategy:
matrix:
os:
Expand Down Expand Up @@ -123,5 +131,11 @@ jobs:
UV_RESOLUTION: ${{ matrix.resolution }}
run: make setup

- name: Download objects inventory
uses: actions/download-artifact@v2
with:
name: objects.inv
path: site/

- name: Run the test suite
run: make test

0 comments on commit a77ca75

Please sign in to comment.