Skip to content

Added a readthedocs yaml file #84

Added a readthedocs yaml file

Added a readthedocs yaml file #84

Workflow file for this run

name: codecov
on: [push]
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
CODECOV_TOKEN: "5628677a-b891-462c-9828-35a8a796b1ea"
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- name: Generate coverage report
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
env_vars: OS,PYTHON, CODECOV_TOKEN
fail_ci_if_error: true
name: codecov-umbrella
path_to_write_report: tests/coverage/codecov_report.txt
verbose: true