From acda84c8c72972756cd7fb621609f80fc6dcd38f Mon Sep 17 00:00:00 2001 From: wwakabobik Date: Fri, 30 Aug 2024 16:42:17 +0200 Subject: [PATCH] Fix readme file --- .github/workflows/master_tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/master_tests.yml b/.github/workflows/master_tests.yml index 999a98b..7e5eac3 100644 --- a/.github/workflows/master_tests.yml +++ b/.github/workflows/master_tests.yml @@ -31,6 +31,9 @@ jobs: run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/testrail_api_reporter:." >> $GITHUB_ENV - name: Execute tests id: tests + continue-on-error: true + env: + FREEIMAGEHOST_API_KEY: ${{ secrets.FREEIMAGEHOST_API_KEY }} run: pytest tests -n=auto --cov=testrail_api_reporter --cov-report=term --cov-report=xml:coverage.xml --cov-report=html - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 @@ -44,3 +47,8 @@ jobs: uses: coverallsapp/github-action@v2.2.3 with: github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: Summary status of tests + run: | + if [[ "${{ steps.tests.outcome }}" == "failure" ]]; then + exit 1 + fi