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