Skip to content

feat: Add integration tests to GitHub Actions workflow#4

Merged
nhomble merged 7 commits intomainfrom
feature/integration-tests-gh-actions
Jul 12, 2025
Merged

feat: Add integration tests to GitHub Actions workflow#4
nhomble merged 7 commits intomainfrom
feature/integration-tests-gh-actions

Conversation

@nhomble
Copy link
Owner

@nhomble nhomble commented Jul 12, 2025

This change introduces a new job to the GitHub Actions workflow to run integration tests.

  • The build job now uploads the skiff binary as an artifact.
  • A new integration-test job is added, which runs after the build job.
  • This job uses the openpolicyagent/conftest:v0.50.0 Docker image.
  • It downloads the skiff binary artifact.
  • It executes the test/test-policies/test-policy.sh script.
  • The test/test-policies/test-policy.sh script was updated to remove the make build command, as the binary is now provided by the workflow.

This change introduces a new job to the GitHub Actions workflow to run integration tests.

- The `build` job now uploads the `skiff` binary as an artifact.
- A new `integration-test` job is added, which runs after the `build` job.
- This job uses the `openpolicyagent/conftest:v0.50.0` Docker image.
- It downloads the `skiff` binary artifact.
- It executes the `test/test-policies/test-policy.sh` script.
- The `test/test-policies/test-policy.sh` script was updated to remove the `make build` command, as the binary is now provided by the workflow.
@nhomble nhomble force-pushed the feature/integration-tests-gh-actions branch from 496f639 to 4fb40d4 Compare July 12, 2025 03:35
@nhomble nhomble merged commit 97bfa4e into main Jul 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant