[Snyk] Security upgrade requests from 2.31.0 to 2.32.0 #155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeCov | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.9' | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: 3.7 | |
- name: 'generate report' | |
run: | | |
pip install coverage | |
pip install numpy | |
pip install pandas | |
pip install scipy | |
pip install plotly | |
pip install mkdocs-material | |
pip install mkdocstrings | |
pip install mkdocstrings | |
pip install pytkdocs | |
pip install mkdocs-jupyter | |
pip install pytest | |
pip install scikit-learn | |
pip install mkdocs-meta-descriptions-plugin | |
pip install jupyter_contrib_nbextensions | |
pip install colorlog | |
coverage erase | |
coverage run -m pytest | |
coverage report -m -i | |
coverage xml -i | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.xml | |
flags: unittests | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
fail_ci_if_error: false |