From fcf6f37d5b86740971206ed7d78720d477e1793a Mon Sep 17 00:00:00 2001 From: Noortheen Raja Date: Fri, 25 Mar 2022 10:53:37 +0530 Subject: [PATCH] chore: add back codecov reports --- .github/workflows/test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 457332e44..1689baade 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}