Skip to content

Raise in partition_all when length is invalid (#603) #145

Raise in partition_all when length is invalid (#603)

Raise in partition_all when length is invalid (#603) #145

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.13t"
- "3.14"
- "3.14t"
- "pypy-3.9"
- "pypy-3.10"
- "pypy-3.11"
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install coverage pycodestyle pytest
pip install -e .
- name: Pytest
run: |
coverage run -m pytest --doctest-modules toolz/
pytest bench/
pycodestyle --ignore="E731,W503,W504,E402" --exclude=conf.py,tests,examples,bench -r --show-source .
- name: Coverage
if: (! contains(matrix.python-version, 'pypy'))
run: |
coverage xml
- name: codecov
if: (! contains(matrix.python-version, 'pypy'))
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
token: ${{ secrets.CODECOV_TOKEN }}