Skip to content

Commit

Permalink
Add github run url to Allure report
Browse files Browse the repository at this point in the history
Signed-off-by: MaxGelbakhiani <max@morphbits.io>
  • Loading branch information
MaxGelbakhiani committed Mar 1, 2024
1 parent 2da3676 commit ddbef59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ jobs:
source venv.local-pytest/bin/activate && pytest --show-capture=no -m "sanity" --alluredir="$ALLURE_RESULTS_DIR" pytest_tests/testsuites
working-directory: neofs-testcases

- name: Add github run url to Allure report
if: always() && steps.prepare_test_env.outcome == 'success'
run:
echo "TEST_RUN_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $ALLURE_RESULTS_DIR/environment.properties

- name: Run all tests for other events
timeout-minutes: 480
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit ddbef59

Please sign in to comment.