From 93e4ad4bb240ef23c7571fa17b20bf8f45d6c312 Mon Sep 17 00:00:00 2001 From: Jesse Mapel <jmapel@usgs.gov> Date: Fri, 19 Mar 2021 10:33:10 -0700 Subject: [PATCH] Added separate python coverage upload --- .github/workflows/ci_testing.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_testing.yml b/.github/workflows/ci_testing.yml index ed7d728..4e813ca 100644 --- a/.github/workflows/ci_testing.yml +++ b/.github/workflows/ci_testing.yml @@ -40,6 +40,13 @@ jobs: - name: Test Python Package run: | pytest --cov-report=xml --cov=ale tests/pytests -vv + - name: Upload Python Coverage + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + verbose: true + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' - name: Build C++ Package run: | mkdir -p build @@ -50,7 +57,7 @@ jobs: run: | cd build ctest -VV - - name: Upload Coverage + - name: Upload C++ Coverage uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} -- GitLab