Skip to content

Prefix v0.3.0 with RSS abbreviation in roadmap #15

Prefix v0.3.0 with RSS abbreviation in roadmap

Prefix v0.3.0 with RSS abbreviation in roadmap #15

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: pytest tests/ -v
- name: Run lint (ruff)
run: ruff check src/ tests/
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build
run: pip install build
- name: Build package
run: python -m build
env:
PYTHONUTF8: 1
- name: Check dist
run: |
pip install twine
twine check dist/*