Skip to content

Added Codecov Workflow #2

Added Codecov Workflow

Added Codecov Workflow #2

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@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
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
- name: Run tests and collect coverage
run: |
pytest --cov app
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3