Skip to content

Adding on_stop lifecycle handler (#28) #14

Adding on_stop lifecycle handler (#28)

Adding on_stop lifecycle handler (#28) #14

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@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Check for syntax errors
run: |
python -m compileall .
- name: Run tests
run: |
PYTHONPATH=src poetry run pytest