WIP #1028
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: | |
pull_request: | |
release: | |
types: [published] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Ensure we have new enough versions to respect python_version | |
run: python -m pip install -U pip setuptools | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Collect & Upload Coverage | |
# codecov.io is too flaky to fail for this right now | |
continue-on-error: true | |
run: python -m tox -e py39-format-codecov | |
env: | |
CODECOV_TOKEN: 2b38dae1-41c4-4435-a29d-79a1299e5617 |