datacontract/Data Contract CLI
Run Data Contract Tests. The result is written as a JUnit Test Report to 'TEST-datacontract.xml' and can optionally be published.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| location | The location (url or path) of the data contract YAML. The current Github workspace is set as working dir and mounted to '/github/workspace'. | yes | datacontract.yaml |
| server | The server configuration to run the schema and quality tests. Use the key of the server object in the data contract yaml file to refer to a server, e.g., `production`, or `all` for all servers (default). | no | all |
| junit-test-report | The location where the JUnit test report file should be written to. This test report can be used with a subsequent action to create a GitHub test summary. | no | TEST-datacontract.xml |
| publish | Optional URL to publish the test results to (passed to the CLI as `--publish`). Leave empty (default) to skip publishing. Authentication is read from environment variables, e.g. `ENTROPY_DATA_API_KEY`. | no | "" |
Outputs
no outputs