Skip to content

Add rst_prolog and rst_epilog to generated files #15

Add rst_prolog and rst_epilog to generated files

Add rst_prolog and rst_epilog to generated files #15

Workflow file for this run

name: Run Unit Tests and Upload Coverage Report
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10.0
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install -r docs/requirements.txt
python -m pip install pytest-cov
- name: Test with pytest
run: pytest --cov=sphinx_readme tests/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml