File
Blob: .github/workflows/wpt-report.yml
| 1 | name: WPT report |
| 2 | |
| 3 | on: |
| 4 | # Allow manual triggering for testing |
| 5 | workflow_dispatch: |
| 6 | |
| 7 | permissions: |
| 8 | # Read repo |
| 9 | contents: read |
| 10 | |
| 11 | # Read/write artifacts |
| 12 | actions: write |
| 13 | |
| 14 | jobs: |
| 15 | test: |
| 16 | uses: ./.github/workflows/_bazel.yml |
| 17 | with: |
| 18 | os_name: linux |
| 19 | suffix: '' |
| 20 | extra_bazel_args: '--config=ci-test' |
| 21 | test_target: '//src/wpt/...' |
| 22 | upload_test_logs: true |
| 23 | fetch_depth: 0 |
| 24 | secrets: |
| 25 | BAZEL_CACHE_KEY: ${{ secrets.BAZEL_CACHE_KEY }} |
| 26 | WORKERS_MIRROR_URL: ${{ secrets.WORKERS_MIRROR_URL }} |
| 27 | GOOGLESOURCE_COOKIE: ${{ secrets.GOOGLESOURCE_COOKIE }} |
| 28 | |
| 29 | report: |
| 30 | needs: [test] |
| 31 | uses: ./.github/workflows/_wpt.yml |
| 32 | with: |
| 33 | image: ubuntu-22.04 |
| 34 | logs_artifact: 'test-logs-linux-X64.zip' |
| 35 | report_artifact: 'wpt-report.json' |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 |