Skip to content

Commit 8ffdfb6

Browse files
committed
Add test hook to workflow
1 parent f05ed0a commit 8ffdfb6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ jobs:
4545
curl -Os https://uploader.codecov.io/latest/linux/codecov
4646
chmod +x codecov
4747
./codecov -t ${CODECOV_TOKEN}
48+
- if: github.ref == 'refs/heads/main'
49+
name: Test hooks
50+
run: |
51+
pip install pre-commit
52+
pre-commit install
53+
pre-commit try-repo .

0 commit comments

Comments
 (0)