sanic/.github/workflows/coverage.yml

35 lines
672 B
YAML
Raw Normal View History

name: Coverage check
on:
push:
branches:
- main
- current-release
- "*LTS"
tags:
- "!*" # Do not execute on tags
pull_request:
2022-01-16 07:03:04 +00:00
branches:
- main
- current-release
2022-01-16 07:03:04 +00:00
- "*LTS"
2023-08-29 19:47:40 +01:00
jobs:
2023-08-29 19:47:40 +01:00
coverage:
name: Check coverage
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
2022-01-09 10:22:09 +00:00
- name: Run coverage
2023-08-29 19:47:40 +01:00
uses: sanic-org/simple-tox-action@v1
with:
python-version: "3.11"
tox-env: coverage
ignore-errors: true
- name: Run Codecov
uses: codecov/codecov-action@v3
with:
2022-01-09 10:22:09 +00:00
files: ./coverage.xml
fail_ci_if_error: false