Skip to content

Update helpers.py

Update helpers.py #33

Workflow file for this run

name: CodeCov
on:
push:
branches:
- main
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -e .
- name: Generate coverage report
run: pytest --cov=src --cov-report=xml
- name: Upload coverage report to CodeCov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }}