Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pytest pre commit hook #210

Merged
merged 12 commits into from
Jun 20, 2023
Prev Previous commit
Next Next commit
fix pre commit GH action to run pytest
  • Loading branch information
patillacode committed Jun 19, 2023
commit 982a19e76e272dc8630fc0bf3c2ba95d0684a6d5
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,23 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0


name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.10.11
- name: Install dependencies
run: pip install -r requirements.txt
- uses: pre-commit/action@v3.0.0