Skip to content

Merge branch 'main' into develop #23

Merge branch 'main' into develop

Merge branch 'main' into develop #23

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install hatch
run: |
python -m pip install hatch
- name: Lint
run: |
hatch fmt
- name: Test
run: |
hatch run +py=${{ matrix.python-version }} test:pytest
- name: Build dist
run: |
hatch build