Skip to content

pipeline

pipeline #2

name: Python package
on:
push:
branches:
- main
- "*"
paths-ignore:
- "docs/**"
- "tests/**"
- "README.md"
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
pip install pytest
- name: Run tests
env:
PYTHONPATH: src
run: pytest
- name: Run Ruff
run: ruff check --output-format=github src