Skip to content

Commit

Permalink
Attach test reports as failed ones when tests fail (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Jan 2, 2025
2 parents 7420943 + 7adf99c commit a7fe5a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ jobs:
working-directory: neofs-testcases

- name: Run tests
id: run_tests
timeout-minutes: 120
env:
ALLURE_RESULTS_DIR: ${{ env.ALLURE_RESULTS_DIR }}
Expand Down Expand Up @@ -376,6 +377,6 @@ jobs:
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
context: 'Test report ${{ matrix.runner }}'
state: 'success'
state: ${{ steps.run_tests.outcome == 'success' && 'success' || 'failure' }}
sha: ${{ github.event.pull_request.head.sha || github.sha }}
target_url: ${{ env.REPORT_NEOFS_URL }}

0 comments on commit a7fe5a7

Please sign in to comment.