Skip to content

Merge pull request #5 from pt1243/check-github-ref #28

Merge pull request #5 from pt1243/check-github-ref

Merge pull request #5 from pt1243/check-github-ref #28

Workflow file for this run

name: Upload coverage
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Generate and upload coverage
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov coverage
- name: Run tests and generate coverage report
run: pytest
- name: Upload coverage report
uses: codecov/codecov-action@v3