Skip to content

Merge pull request #17 from markpbaggett/catch_missing_collection_met… #108

Merge pull request #17 from markpbaggett/catch_missing_collection_met…

Merge pull request #17 from markpbaggett/catch_missing_collection_met… #108

Workflow file for this run

name: Run pytest
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
poetry-version: [ "1.8.2" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install application
run: poetry install
- name: Run tests
run: poetry run pytest
- name: Ruff check
run: poetry run ruff check
- name: Test docstrings
run: poetry run pytest --doctest-modules