Still trying tags to work #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run package tests | |
on: | |
push: | |
branches: | |
- "**" # all branches | |
pull_request: | |
branches: | |
- "**" | |
workflow_call: {} | |
workflow_dispatch: {} | |
jobs: | |
test-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Hatch | |
uses: pypa/hatch@install | |
- name: Run tests | |
run: | | |
hatch test --all | |
hatch run lint:lint-check | |
hatch run lint:format-check | |
hatch run types:check | |
hatch run examples:check | |
- name: Build | |
run: hatch build | |
- name: Save distribution package | |
uses: actions/upload-artifact@v4 | |
with: | |
name: distribution-package | |
path: dist |