Skip to content

Commit

Permalink
Add CI to run hatch github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Nov 1, 2023
1 parent 602aad5 commit 95c0c3c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci_hatch.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 95c0c3c

Please sign in to comment.