Skip to content

Fix for invalid warning when using hooks in mkdocs #30

Fix for invalid warning when using hooks in mkdocs

Fix for invalid warning when using hooks in mkdocs #30

Workflow file for this run

name: Unit tests
on: [pull_request]
jobs:
run:
name: Run unit tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Static code checking with pyflakes
run: |
pip install pyflakes
pyflakes mkdocs_print_site_plugin
- name: Generate coverage report
run: |
pip install -r tests/test_requirements.txt
pip install .
pytest --cov=mkdocs_print_site_plugin --cov-report=xml