Skip to content

pin the release workflow to a tag for github-release/v1 compatibility #126

pin the release workflow to a tag for github-release/v1 compatibility

pin the release workflow to a tag for github-release/v1 compatibility #126

Workflow file for this run

name: tests
permissions:
contents: read
id-token: write
on:
push:
jobs:
main-package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13"]
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Python
uses: Serapieum-of-alex/github-actions/actions/python-setup/uv@uv/v1
with:
python-version: ${{ matrix.python-version }}
install-groups: "groups: dev"
verify-lock: true
- name: Run Tests
run: |
uv run pytest -vvv --cov=src/statista --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
- name: test Jupyter notebook
run: |
uv run pytest --nbval --nbval-lax --verbose