Skip to content

Commit

Permalink
Add hatch gh wokflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkun committed Jul 4, 2024
1 parent 09068e1 commit 79451b6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/hatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Hatch workflow
on:
push:
paths:
- 'hatch-demo/**'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Hatch
uses: pypa/hatch@install
- name: Lint
run: hatch run dev:check
- name: Run tests
run: hatch run dev:test

0 comments on commit 79451b6

Please sign in to comment.