Repository navigation
devops: report CI test results as parquet artifacts #41669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
6cc5d46
3c42f83
ef849bf
bf23569
48b1449
6406b20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: 'Upload parquet report' | ||
| description: 'Upload the parquet test-results report to GitHub artifacts' | ||
| inputs: | ||
| report_file: | ||
| description: 'Path to the parquet report file' | ||
| required: true | ||
| default: 'test-results/test-results.parquet' | ||
|
Skn0tt marked this conversation as resolved.
Resolved
|
||
| job_name: | ||
| description: 'Unique job name' | ||
| required: true | ||
| default: '' | ||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Upload parquet report to GitHub | ||
| if: ${{ !cancelled() && hashFiles(inputs.report_file) != '' }} | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: parquet-report-${{ inputs.job_name }} | ||
| path: ${{ inputs.report_file }} | ||
| retention-days: 7 | ||
| overwrite: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,4 +44,10 @@ jobs: | |
| - run: npm ci | ||
| - run: npm run build | ||
| - run: npx playwright install --with-deps | ||
| - run: npm run ct | ||
| - run: npm run ct -- --reporter=list,./tests/config/parquetReporter.mts | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this one different from others? Update the playwright config instead?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one doesn't have a config, but I also realised that we're not even emitting blobs for this, so I dropped it. |
||
| - name: Upload parquet report | ||
| if: ${{ !cancelled() }} | ||
| uses: ./.github/actions/upload-parquet-report | ||
| with: | ||
| report_file: test-results/test-results.parquet | ||
| job_name: components-${{ matrix.os }}-node${{ matrix.node-version }} | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.