Skip to content

Release workflow: publish to PyPI through Trusted Publishing (OIDC) #3

Release workflow: publish to PyPI through Trusted Publishing (OIDC)

Release workflow: publish to PyPI through Trusted Publishing (OIDC) #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r test-requirements.txt
pip install .
# Offline tests only. The live conformance suite (test/test_live.py)
# needs a running server and is driven from the queueflow-core repo's CI.
- name: Test with pytest
run: pytest --cov=queueflow