Skip to content

Use fields for Pierre Belle reader #63

Use fields for Pierre Belle reader

Use fields for Pierre Belle reader #63

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches:
- 'develop'
- 'main'
- 'release/**'
pull_request:
branches:
- 'develop'
- 'main'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install package
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Lint with ruff
run: |
pip install ruff
ruff check --output-format=github --target-version=py38 .
- name: Test with pytest
run: |
pytest