This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
Update README.md #198
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: | |
pull_request: | |
branches: [ develop, dev/*, release/* ] | |
jobs: | |
backend-coverage: | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
python-versions: [3.9] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Generate coverage report | |
env: | |
TOX_PARALLEL_NO_SPINNER: 1 | |
run: | | |
pip install tox | |
tox -e coverage | |
- name: Code coverage | |
uses: orgoro/coverage@v2 | |
with: | |
coverageFile: coverage.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
thresholdAll: 0.85 |