Skip to content

Merge pull request #51 from christianhelle/renovate/codecov-codecov-a… #59

Merge pull request #51 from christianhelle/renovate/codecov-codecov-a…

Merge pull request #51 from christianhelle/renovate/codecov-codecov-a… #59

Workflow file for this run

name: Codecov
on:
workflow_dispatch:
push:
jobs:
build:
name: 👌 Verify build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install test requirements
run: pip install -r requirements.txt
- name: Install the package
run: python setup.py develop
- name: Run Tests
run: python -m pytest tests/ -v --cov --cov-report=xml --cov-report=html
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}