Skip to content

Commit

Permalink
Add a pre-commit job in the pytest CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Sep 3, 2023
1 parent b0d871e commit 13dab2f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,17 @@ jobs:
- name: Test documentation build using Sphinx
if: contains(matrix.os, 'ubuntu')
run: make --directory=doc html

pre-commit:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
cache: pip
cache-dependency-path: "**/pyproject.toml"

- uses: pre-commit/[email protected]

0 comments on commit 13dab2f

Please sign in to comment.