exclude integration/selenium tests from CI #318
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 upload | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
codecov: | |
name: Codecov Workflow | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Generate coverage report | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install pytest pytest-cov | |
pip install -r requirements_testing.txt | |
pip install -e . | |
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 |