diff --git a/.github/workflows/hatch.yml b/.github/workflows/hatch.yml index 52ce4b9..cb7bc08 100644 --- a/.github/workflows/hatch.yml +++ b/.github/workflows/hatch.yml @@ -3,6 +3,9 @@ on: push: paths: - 'hatch-demo/**' +defaults: + run: + working-directory: ./hatch-demo jobs: test: diff --git a/hatch-demo/README.md b/hatch-demo/README.md index 105f4c8..86a1096 100644 --- a/hatch-demo/README.md +++ b/hatch-demo/README.md @@ -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`