Skip to content

set skip-worktree on version file #14

set skip-worktree on version file

set skip-worktree on version file #14

Workflow file for this run

name: Run tests
# TODO: switch this to run on PRs
on: [push]
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 || true
- name: Test
run: |
hatch run +py=${{ matrix.python-version }} test:pytest
- name: Build dist
run: |
hatch build