Skip to content

Commit

Permalink
Add build test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Apr 18, 2024
1 parent a98eb6a commit 0b2df4b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,30 @@ jobs:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: docs/requirements.txt
- name: Install and build
- name: Build documentation
run: |
python -m pip install -r docs/requirements.txt
make docs
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: docs/requirements-dev.txt
- name: Build package
run: |
python -m pip install -r docs/requirements-dev.txt
make build
tests:
if: always()
runs-on: ubuntu-latest
needs: [ tests_matrix, ruff, docs ]
needs: [ tests_matrix, ruff, docs, build ]
steps:
- name: Check tests matrix status
if: needs.tests_matrix.result != 'success'
Expand Down

0 comments on commit 0b2df4b

Please sign in to comment.