Skip to content

Bump the pip group across 1 directory with 16 updates #217

Bump the pip group across 1 directory with 16 updates

Bump the pip group across 1 directory with 16 updates #217

Workflow file for this run

name: Python Package CI
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r .github/requirements.txt
poetry install
- name: Check for syntax errors
run: |
python -m compileall .
- name: Run tests
run: |
PYTHONPATH=src poetry run pytest
# publish.yaml builds the release this way, so a Poetry update that
# breaks it fails here, not in the release.
- name: Build the package
run: |
poetry build