Skip to content

Add pytest warning filters for pkg_resource and sqlalchemy #299

Add pytest warning filters for pkg_resource and sqlalchemy

Add pytest warning filters for pkg_resource and sqlalchemy #299

Workflow file for this run

---
name: run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run_tests:
strategy:
matrix:
# matrixed execution for parallel gh-action performance increases
python_version: ["3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
OS: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Setup for poetry
uses: ./.github/actions/setup-poetry
- name: Install environment
run: poetry install --no-interaction --no-ansi
- name: Run sphinx-docs build test
run: poetry run sphinx-build docs/source doctest -W
- name: Run citation file test
run: poetry run cffconvert --validate
- name: Run pytest
run: poetry run pytest