Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quipper/send-ci-result-to-bigquery-action
Send test results to BigQuery in GitHub Actions
https://github.com/quipper/send-ci-result-to-bigquery-action
bigquery github-actions google-bigquery junit-xml
Last synced: 29 days ago
JSON representation
Send test results to BigQuery in GitHub Actions
- Host: GitHub
- URL: https://github.com/quipper/send-ci-result-to-bigquery-action
- Owner: quipper
- License: apache-2.0
- Created: 2023-06-21T04:26:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T11:12:38.000Z (10 months ago)
- Last Synced: 2024-04-22T13:07:49.213Z (10 months ago)
- Topics: bigquery, github-actions, google-bigquery, junit-xml
- Language: TypeScript
- Homepage:
- Size: 8.61 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# send-ci-result-to-bigquery-action [![ts](https://github.com/quipper/send-ci-result-to-bigquery-action/actions/workflows/ts.yaml/badge.svg)](https://github.com/quipper/send-ci-result-to-bigquery-action/actions/workflows/ts.yaml)
This is an action to send test results of JUnit XML to Google Cloud BigQuery.
## Getting Started
**Status:** still in beta
```yaml
jobs:
rspec:
steps:
- uses: actions/checkout@v3
# Generate a test result in JUnit XML.
# For example,
- run: bundle exec rspec --format RspecJunitFormatter --out report/rspec.xml
- uses: google-github-actions/auth@v1
with:
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
service_account: '[email protected]'
- uses: quipper/send-ci-result-to-bigquery-action@v0
with:
test-result-xml-glob: report/rspec.xml
bigquery-dataset-name: ci_result
bigquery-ci-result-table-name: ci_result
bigquery-ci-context-table-name: ci_context
github-matrix-context-json: ${{ toJson(matrix) }} # only if using matrix
```## Specification
### Inputs
| Name | Default | Description |
| -------------------------------- | ---------- | ---------------------------- |
| `test-result-xml-glob` | (required) | Glob pattern of test results |
| `bigquery-dataset-name` | (required) | Dataset name |
| `bigquery-ci-result-table-name` | (required) | Table name of CI result |
| `bigquery-ci-context-table-name` | (required) | Table name of CI context |### Outputs
None.