Skip to content

Commit c6d8c39

Browse files
committed
Add pre-commit to ci
1 parent 0c9815d commit c6d8c39

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
branches: [ "master" ]
1111

1212
jobs:
13+
pre-commit:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v3
18+
- uses: pre-commit/[email protected]
1319
test:
1420

1521
runs-on: ubuntu-20.04
@@ -34,4 +40,4 @@ jobs:
3440
run: docker image prune -af
3541
- name: Test with pytest
3642
run: |
37-
python -m unittest discover -v -s test -p "test*.py"
43+
python -m unittest discover -v -s test -p "test*.py"

0 commit comments

Comments
 (0)