Skip to content

Add option for MARC user-specified preprocesor functions for MARC records #37

Add option for MARC user-specified preprocesor functions for MARC records

Add option for MARC user-specified preprocesor functions for MARC records #37

Workflow file for this run

name: Test Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: '**/pyproject.toml'
- name: Install poetry
run: |
python -m pip install poetry
- name: Install project with dependencies
run: |
poetry install --with dev
- name: Run tests
run: |
poetry run pytest