Skip to content

pyo3 bindings for uap-python #3

pyo3 bindings for uap-python

pyo3 bindings for uap-python #3

Workflow file for this run

name: py checks
on: [push, pull_request]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fails-fast: false

Check failure on line 12 in .github/workflows/pytests.yaml

View workflow run for this annotation

GitHub Actions / py checks

Invalid workflow file

The workflow is not valid. .github/workflows/pytests.yaml (Line: 12, Col: 7): Unexpected value 'fails-fast'
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
- "graalpy-24"
steps:
- name: Checkout working copy
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install test dependencies
run: |
python -mpip install --upgrade pip
# cyaml is outright broken on pypy
if ! ${{ startsWith(matrix.python-version, 'pypy-') }}; then
# if binary wheels are not available for the current
# package install libyaml-dev so we can install pyyaml
# from source
if ! pip download --only-binary pyyaml > /dev/null 2>&1; then
sudo apt install libyaml-dev
fi
fi
python -mpip install pytest pyyaml
- name: install package
run: pip install .
- name: run tests
run: pytest -v -Werror -ra ua-parser-py