Skip to content

Merge pull request #18 from sondregronas/docs-add-codeblock_with_indent #91

Merge pull request #18 from sondregronas/docs-add-codeblock_with_indent

Merge pull request #18 from sondregronas/docs-add-codeblock_with_indent #91

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
max-parallel: 6
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Run unit tests
run: |
pip install -e .
python -m pytest tests/test_plugin.py --cov=mkdocs_callouts --cov-report=xml
- uses: codecov/codecov-action@v3
with:
file: ./coverage.xml