Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

[pre-commit.ci] auto fixes from pre-commit.com hooks #1397

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #1397

Workflow file for this run

name: CodeCov
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10.4, 3.10.5, 3.10.6, 3.10.7, 3.10.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements/requirements.txt
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Run Coverage
run: |
coverage run -m pytest --ignore=projects
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
flags: pytests # optional
name: codecov-umbrella # optional
verbose: true # optional (default = false)
version: "v0.1.15"