Skip to content

Fix pickle serialization error in tests on Python 3.14 #14

Fix pickle serialization error in tests on Python 3.14

Fix pickle serialization error in tests on Python 3.14 #14

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Test all Python versions on Ubuntu (fastest)
# Test latest Python on macOS and Windows (catch OS-specific issues)
include:
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.12"
- os: ubuntu-latest
python-version: "3.13"
- os: ubuntu-latest
python-version: "3.14"
- os: macos-latest
python-version: "3.14"
- os: windows-latest
python-version: "3.14"
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run pre-commit
run: |
pip install pre-commit
pre-commit run --all-files --show-diff-on-failure
- name: Run tests with coverage
run: |
pytest tests/ -v --cov=quickup --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
fail_ci_if_error: false
#----------------------------------------------
# make sure docs build
#----------------------------------------------
- name: Install docs dependencies
run: pip install -e ".[docs]"
- name: Build HTML docs
run: sphinx-build -b html docs/source/ docs/build/html