From abbe3e84b4730c01050dd6fedab8e0af2cd2f8a3 Mon Sep 17 00:00:00 2001 From: benank <8016617+benank@users.noreply.github.com> Date: Thu, 17 Mar 2022 10:14:37 -0700 Subject: [PATCH] Add Python 2.7 code coverage (#126) * Add flags for python 2.7 * Fail ci if error * Add new line Co-authored-by: benank --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e49a9e2..4c81af93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,10 @@ jobs: coverage xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 + with: + flags: python39 + name: python-39 + fail_ci_if_error: true codecov-python-27: runs-on: windows-latest steps: @@ -38,4 +42,8 @@ jobs: coverage run -m unittest discover -s src coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 \ No newline at end of file + uses: codecov/codecov-action@v2 + with: + flags: python27 + name: python-27 + fail_ci_if_error: true