mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
DEV: Only run check-flaky-spec-report when enabled in tests workflow
(#28903)
This commit is contained in:
parent
9a4f71353d
commit
4377649077
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -311,7 +311,7 @@ jobs:
|
||||
|
||||
- name: Check for flaky tests report
|
||||
id: check-flaky-spec-report
|
||||
if: always() && github.repository == 'discourse/discourse'
|
||||
if: always() && github.repository == 'discourse/discourse' && ${{ env.DISCOURSE_TURBO_RSPEC_RETRY_AND_LOG_FLAKY_TESTS == '1' }}
|
||||
run: |
|
||||
if [ -f tmp/turbo_rspec_flaky_tests.json ]; then
|
||||
echo "exists=true" >> $GITHUB_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user