Skip to content

remove second author #13

remove second author

remove second author #13

Workflow file for this run

# mkdocs-authors-plugin/.github/workflows/test.yml
name: Python Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
# Install the plugin in editable mode with dev dependencies
pip install -e ".[tests]"
- name: Run tests with pytest
run: |
pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}