Skip to content

Commit

Permalink
run pre-commit hooks in ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas committed Jul 15, 2024
1 parent 207cbe0 commit 3a63609
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ jobs:
key: poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'

- name: Run pre-commit hooks
run: |
pre-commit install
pre-commit run -a
- name: Run tests with pytest
run: poetry run pytest

0 comments on commit 3a63609

Please sign in to comment.