Skip to content

Updated docs workflow #66

Updated docs workflow

Updated docs workflow #66

Workflow file for this run

name: Build-codecov-docs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry lock --no-update
poetry install --with test
pip install pytest
pip install pytest-cov
- name: Run tests and collect coverage
run: pytest --cov tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3