Skip to content

publish releases to both PyPI & TestPyPI #13

publish releases to both PyPI & TestPyPI

publish releases to both PyPI & TestPyPI #13

Workflow file for this run

name: Build & Test
on:
push:
branches-ignore:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.14"]
steps:
- name: Checkout 🛒
uses: actions/checkout@v4
- name: Install uv 💜
uses: astral-sh/setup-uv@v6
- name: Install and run ruff 🐶
uses: astral-sh/ruff-action@v3
- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies 📦
run: |
uv sync --all-groups --frozen
- name: Lint with flake8 ❄️
run: |
uv run flake8
- name: Test with pytest ✅
run: |
uv run pytest tests