Skip to content

Commit

Permalink
Add note about workflow to trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkun committed Jul 4, 2024
1 parent 79451b6 commit 264ccf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
paths:
- 'hatch-demo/**'
defaults:
run:
working-directory: ./hatch_demo

jobs:
test:
Expand Down
2 changes: 2 additions & 0 deletions hatch-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ run = "python src/hatch_demo/demo.py"
$ hatch run default:run
```

13. Add [hatch-based GH workflow](../.github/workflows/hatch.yml) to check linting and run tests

## Notes

* Not sure how to install the project so that it can called like `python -m hatch_demo`
Expand Down

0 comments on commit 264ccf6

Please sign in to comment.