Skip to content

black formatting datatracker.py #298

black formatting datatracker.py

black formatting datatracker.py #298

name: Linux Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
codecov:
name: Codecov Workflow
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint with Ruff
run: pre-commit run --all-files --show-diff-on-failure --color always
- name: Generate coverage report
run: |
coverage run -m pytest tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
env_vars: OS,PYTHON
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests