Skip to content

Commit

Permalink
Add github workflow for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
florczakraf committed Oct 19, 2024
1 parent ec3f375 commit e328df5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test

on: [push, pull_request]

jobs:
pre-commit-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: pre-commit checks
run: |
poetry run pre-commit run -a

0 comments on commit e328df5

Please sign in to comment.