diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b182215 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: "CI" + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + run: + name: "tests & coverage" + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.8 + uses: actions/setup-python@v5 + with: + python-version: 3.8 + + - name: Install hatch + run: | + python -m pip install hatch + + - name: Tests + run: hatch run test