[DISCO-3256] chore(ci): migrate the "upload-test-artifacts" and "upload-coverage-artifacts" steps from CircleCI to GH Actions #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Checks Workflow | |
on: pull_request | |
jobs: | |
run-checks: | |
uses: ./.github/workflows/checks.yaml | |
run-tests: | |
uses: ./.github/workflows/tests.yaml | |
upload-test-artifacts: | |
needs: run-tests | |
if: always() # Ensure the job runs even if previous jobs, like test runs, fail | |
uses: ./.github/workflows/upload-to-gcs.yaml | |
with: | |
destination: "gs://ecosystem-test-eng-metrics/merino-py-test/junit" | |
extension: "xml" | |
upload-coverage-artifacts: | |
needs: run-tests | |
if: always() # Ensure the job runs even if previous jobs, like test runs, fail | |
uses: ./.github/workflows/upload-to-gcs.yaml | |
with: | |
destination: "gs://ecosystem-test-eng-metrics/merino-py-test/coverage" | |
extension: "json" | |
run-docs-build: | |
uses: ./.github/workflows/docs-build.yaml |