Fix unreachable code warnings when all reconnectable swift routes have compat wrappers #1857
Workflow file for this run
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: Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
Coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python environment | |
uses: actions/[email protected] | |
with: | |
python-version: '3.7' | |
- name: Install Requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install coverage pytest | |
pip install -r test/requirements.txt | |
python setup.py install | |
- name: Generate Unit Test Coverage | |
run: | | |
coverage run --rcfile=.coveragerc -m pytest | |
coverage xml | |
- name: Publish Coverage | |
uses: codecov/[email protected] | |
with: | |
flags: unit | |
fail_ci_if_error: true |