chore(capture): v1 compliance adapter + CI job (capture v1, 5/6) #1061
Workflow file for this run
This file contains hidden or 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: SDK Compliance Tests | |
| permissions: | |
| contents: read | |
| packages: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| compliance: | |
| name: PostHog SDK compliance tests (capture v0) | |
| # Pinned to the 0.8.0 tag (commit be8b8d5) of the reusable workflow + harness | |
| # image so v0/v1 runs are reproducible and pick up the capture-v1 suites. | |
| uses: PostHog/posthog-sdk-test-harness/.github/workflows/test-sdk-action.yml@be8b8d5a3f94a249659844e94832e874f049c1e4 | |
| with: | |
| adapter-dockerfile: "sdk_compliance_adapter/Dockerfile" | |
| adapter-context: "." | |
| test-harness-version: "0.8.0" | |
| report-name: "sdk-compliance-report-v0" | |
| compliance-v1: | |
| name: PostHog SDK compliance tests (capture v1) | |
| uses: PostHog/posthog-sdk-test-harness/.github/workflows/test-sdk-action.yml@be8b8d5a3f94a249659844e94832e874f049c1e4 | |
| with: | |
| adapter-dockerfile: "sdk_compliance_adapter/Dockerfile.v1" | |
| adapter-context: "." | |
| test-harness-version: "0.8.0" | |
| report-name: "sdk-compliance-report-v1" |