Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
szczecha committed Jan 17, 2025
1 parent eb3923d commit dd40940
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/actions/flaky-tests-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,29 @@ runs:
with:
node-version: 20

- name: Install CTRF package
- name: Install CTRF package globally
shell: bash
run: npm install -g ctrf

- name: Ensure CTRF directory exists
shell: bash
run: mkdir -p ctrf


- name: Download ctrf reports from GitHub Actions Artifacts
uses: actions/download-artifact@v4
with:
path: ctrf
pattern: ctrf-report-*
merge-multiple: true

- name: Debug: List downloaded files
shell: bash
run: ls -la ./ctrf

- name: Merge CTRF reports
shell: bash
run: ctrf merge ./ctrf --output ./ctrf/merged-report.json
run: npx ctrf merge ./ctrf --output ./ctrf/merged-report.json

- name: Upload CTRF report
uses: actions/upload-artifact@v4
Expand All @@ -37,4 +46,4 @@ runs:
previous-results-report: true
failed-report: true
flaky-report: true
if: always()
if: always()

0 comments on commit dd40940

Please sign in to comment.