Skip to content

Commit

Permalink
Set up CI workflow to use pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Mar 23, 2024
1 parent 7131aaa commit 27c9d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run flake8
run: flake8
- name: Run pre-commit
run: pre-commit run --all-files
- name: Install package
run: pip install .
- name: Run pytest
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flake8
pre-commit
pytest
pytest-asyncio
pytest-mock

0 comments on commit 27c9d5e

Please sign in to comment.