From ceea9f6a8a0bf9bf0302d3644c0305e901168886 Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Fri, 22 Nov 2024 10:09:29 -0600 Subject: [PATCH] Update based on pr feedback Signed-off-by: Andre Kurait --- .github/workflows/CI.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7a72a9dae..1009afb6c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -58,18 +58,17 @@ jobs: working-directory: ${{ env.WORKING_DIR }} steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - name: Run Tests + uses: actions/setup-python@v5 with: python-version: ${{ env.python-version }} - run: | python3 -m pip install --upgrade pipenv pipenv install --deploy --dev - pipenv run test || TEST_FAILED=true - pipenv run coverage xml - if [ "$TEST_FAILED" = true ]; then - echo "Tests failed, exiting step with error" - exit 1 - fi + pipenv run test + - name: Generate Coverage Report + if: always() + run: pipenv run coverage xml - name: Get Sanitized Name if: always() env: @@ -221,7 +220,7 @@ jobs: env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - codecov-test: + report-codecov: needs: - gradle-tests - console-python-tests