Skip to content

build(deps-dev): bump black from 21.9b0 to 24.3.0 #27

build(deps-dev): bump black from 21.9b0 to 24.3.0

build(deps-dev): bump black from 21.9b0 to 24.3.0 #27

Workflow file for this run

name: Codecov
on:
pull_request:
push:
branches: [main]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coverage pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Generate coverage report
run: |
pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@master
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests