Skip to content

Merge pull request #39 from thermondo/custom-requests-sessoin #188

Merge pull request #39 from thermondo/custom-requests-sessoin

Merge pull request #39 from thermondo/custom-requests-sessoin #188

Workflow file for this run

name: coverage
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
coverage:
name: Coverage Reports on codecov.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Generate coverage report
run: |
pip install pytest pytest-cov responses
python setup.py testcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
directory: ./junit/
fail_ci_if_error: true