Skip to content

python 3.11 and sphinx #65

python 3.11 and sphinx

python 3.11 and sphinx #65

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
# Set up operating system
runs-on: ${{ matrix.os }}
# Define job steps
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Check-out repository
uses: actions/checkout@v2
- name: Install poetry
uses: snok/install-poetry@v1
- name: Install package
run: poetry install
- name: Test with pytest
run: poetry run python -m pytest tests --doctest-modules --cov=cat2cat --cov-report=xml
- name: Test with mypy
run: poetry run mypy src
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
- name: Build documentation
run: poetry run make html --directory docs/