little bit of ci (#96)

* more pre-commit

* run in ci

* fix violations

* cleanup
This commit is contained in:
Adeeb Shihadeh
2022-10-22 18:07:59 -07:00
committed by GitHub
parent 8d5c58f05a
commit 18f4bd76c0
6 changed files with 51 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
name: tests
on:
push:
pull_request:
jobs:
precommit:
name: pre-commit
runs-on: ubuntu-20.04
timeout-minutes: 8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- run: 'pip install pre-commit'
- run: 'pre-commit run --all'