Skip to content

Commit

Permalink
chore: run pre-commit hooks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Oct 21, 2024
1 parent 7e2b9f1 commit 3bc2402
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ on:
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install pre-commit
run: |
pip install pre-commit
pre-commit install
- name: run pre-commit
run: |
pre-commit run --all-files
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 3bc2402

Please sign in to comment.