chore: add back codecov reports

This commit is contained in:
Noortheen Raja 2022-03-25 10:53:37 +05:30 committed by Gil Forsyth
parent c7068d2dee
commit fcf6f37d5b

View file

@ -3,10 +3,10 @@ name: CI Tests
on:
push:
branches:
- main
- main
pull_request:
branches:
- main
- main
workflow_dispatch:
inputs:
tmate_debug_enabled:
@ -24,8 +24,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9","3.10" ]
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9","3.10" ]
name: Test Python ${{ matrix.python-version }} ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@ -59,3 +59,9 @@ jobs:
run: |
python -m pip install -e . --no-deps
python -m xonsh run-tests.xsh test --report-coverage --no-amalgam -- --timeout=240
- name: Upload coverage to Codecov
if: ${{ startsWith(matrix.python-version, '3.10') }}
uses: codecov/codecov-action@v2
with:
verbose: true
flags: ${{ matrix.os }}