From 95c0c3c18ec205fc79a97001f7f81de368ce4539 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Wed, 1 Nov 2023 14:53:13 -0700 Subject: [PATCH] Add CI to run hatch github actions --- .github/workflows/ci_hatch.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci_hatch.yml diff --git a/.github/workflows/ci_hatch.yml b/.github/workflows/ci_hatch.yml new file mode 100644 index 00000000..a40ce185 --- /dev/null +++ b/.github/workflows/ci_hatch.yml @@ -0,0 +1,29 @@ +name: Run tests with hatch + +on: + pull_request: + branches: [ "master", "main" ] + paths-ignore: [ "docs/**" ] + + push: + branches: [ "master", "main" ] + paths-ignore: [ "docs/**" ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v4 + with: + python-version: | + 3.8 + 3.11 + + - name: Install hatch + run: pipx install hatch + + - name: Run Tests + run: hatch run test:run