DEV: Flaky test report should be differentiated between job runs (#24895)
Why this change? The `tests` workflow runs many jobs. Each job when ran is given a unique id. Since a job can be re-run, we do not want the test reports to override each other so we differentiate it further by the `job_id` given by `${{ github.job }}`.
This commit is contained in:
parent
c437b9f5f2
commit
b2c27a8c60
|
@ -304,7 +304,7 @@ jobs:
|
|||
|
||||
- name: Create flaky tests report artifact
|
||||
if: always() && steps.check-flaky-spec-report.outputs.exists == 'true'
|
||||
run: cp tmp/turbo_rspec_flaky_tests.json tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}.json
|
||||
run: cp tmp/turbo_rspec_flaky_tests.json tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}-${{ github.job }}.json
|
||||
|
||||
- name: Upload flaky tests report
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Reference in New Issue