Skip to content

Merge pull request #33 from Stoops-ML/codecov #22

Merge pull request #33 from Stoops-ML/codecov

Merge pull request #33 from Stoops-ML/codecov #22

name: Upload codecov from main
on:
push:
branches:
- main
jobs:
codecov-of-main:
name: codecov of main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
- name: Generate coverage report
run: python -m pytest --cov=czml3 --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true