Skip to content

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

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

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

Workflow file for this run

name: Example workflow for Codecov
on: [push]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Install dependencies
run: |
conda update conda
pip install -r requirements.txt
- name: Install extension
run: |
pip install -e .
- name: Generate coverage report
run: |
# Temporarily disabling tests and coverage of older project
# pip install pytest
# pip install pytest-cov
# pytest --cov=./ --cov-report=xml
#- name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: ./coverage.xml
# flags: unittests
# name: codecov-umbrella
# yml: ./codecov.yml