Skip to content

Commit

Permalink
[ci] Add lint and format tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bashonly committed Mar 18, 2024
1 parent 3cd71ce commit a79278a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Run tests
on: [push, pull_request]

jobs:
tests:
name: Lint / Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install hatch
run: python3 -m pip install hatch
- name: Run lint
run: hatch run lint
- name: Run format
run: hatch run format

0 comments on commit a79278a

Please sign in to comment.