Skip to content

Refine minimum version #51

Refine minimum version

Refine minimum version #51

Workflow file for this run

name: Test 🧪 & Check 🧐
on:
push:
branches:
- "**"
tags:
- "v*"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- name: Run tests
run: hatch test --cover
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- name: Run check
run: hatch fmt --check
call-build-publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: [test, check]
uses: ./.github/workflows/build-publish.yaml
secrets: inherit