Skip to content

pyproject. fix rut version. #195

pyproject. fix rut version.

pyproject. fix rut version. #195

Workflow file for this run

name: CI
on:
push:
branches: [master, test]
pull_request:
branches: [master, test]
jobs:
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy-3.11']
exclude:
- os: windows
python-version: pypy3
steps:
- if: ${{ matrix.os == 'ubuntu' }}
run: sudo apt-get install strace
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: uv sync --group dev
# PyPy bundles cffi which declares pycparser as dependency but doesn't ship it
- if: ${{ startsWith(matrix.python-version, 'pypy') }}
run: uv pip install pycparser
- run: uv run doit pyflakes
- run: uv run doit codestyle
- run: uv run rut -vv
- if: ${{ matrix.os == 'ubuntu' && matrix.python-version == '3.11' }}
run: uv run doit coverage
- if: ${{ matrix.os == 'ubuntu' && matrix.python-version == '3.11' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false