Skip to content

Commit 63d5897

Browse files
authored
chore(infra): Add test reporting to shuffle-tests workflow (#104560)
Adds test reporting to `shuffle-tests` workflow so we can query with bigquery.
1 parent 75edeed commit 63d5897

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/shuffle-tests.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
description: Whether to get per-test coverage (uses ./github/workflows/codecov_per_test_coverage.yml)
99
required: true
1010
default: 'true'
11-
# Run once a week on sunday
11+
# Run once a day
1212
schedule:
13-
- cron: '0 1 * * 0'
13+
- cron: '0 1 * * *'
1414

1515
concurrency:
1616
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -56,3 +56,21 @@ jobs:
5656
- name: Run backend test (${{ steps.setup.outputs.matrix-instance-number }} of ${{ steps.setup.outputs.matrix-instance-total }})
5757
run: |
5858
make test-python-ci
59+
60+
- name: Inspect failure
61+
if: failure()
62+
run: |
63+
if command -v devservices; then
64+
devservices logs
65+
fi
66+
67+
- name: Collect test data
68+
uses: ./.github/actions/collect-test-data
69+
if: ${{ !cancelled() }}
70+
with:
71+
artifact_path: .artifacts/pytest.json
72+
gcs_bucket: ${{ secrets.COLLECT_TEST_DATA_GCS_BUCKET }}
73+
gcp_project_id: ${{ secrets.COLLECT_TEST_DATA_GCP_PROJECT_ID }}
74+
workload_identity_provider: ${{ secrets.SENTRY_GCP_DEV_WORKLOAD_IDENTITY_POOL }}
75+
service_account_email: ${{ secrets.COLLECT_TEST_DATA_SERVICE_ACCOUNT_EMAIL }}
76+
matrix_instance_number: ${{ steps.setup.outputs.matrix-instance-number }}

0 commit comments

Comments
 (0)