Skip to content

ci(coverage): fix token #49

ci(coverage): fix token

ci(coverage): fix token #49

Workflow file for this run

# This workflow will install Python dependencies, run tests coverage
name: Coverage report
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python latest
uses: actions/setup-python@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
- name: Generate coverage report
run: |
python -m coverage erase
python -m coverage run --source=circlify test_circlify.py
python -m coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}