Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add basic Pull Request checks. #5

Merged
merged 3 commits into from
Mar 27, 2024
Merged

ci: Add basic Pull Request checks. #5

merged 3 commits into from
Mar 27, 2024

Conversation

philipaconrad
Copy link
Member

This PR is intended to set up basic build / linting target for CI.

Some small naming changes may be required to get the build to work-- I'll update the PR as needed for that.

@philipaconrad philipaconrad added the github actions Involves GHA workflow changes label Mar 20, 2024
@philipaconrad philipaconrad self-assigned this Mar 20, 2024
@philipaconrad
Copy link
Member Author

I'm going to add a basic smoke test check to this PR, so that we can make sure that our usage example more-or-less works.

@philipaconrad philipaconrad force-pushed the ci-basics branch 2 times, most recently from 68f6704 to 254575e Compare March 27, 2024 20:49
Signed-off-by: Philip Conrad <[email protected]>
@philipaconrad
Copy link
Member Author

@chendrix We finally have a basic Testcontainers-based smoke test for the API! 🙂

It spins up an OPA container, loads in the Rego Playground RBAC policy + data, and then queries the OPA instance with an example request, using the Speakeasy SDK API, and asserts the results are correct.

It's ugly, but should serve as a good scaffold for later smoke tests. 😅

@philipaconrad philipaconrad merged commit 2502381 into main Mar 27, 2024
4 checks passed
@philipaconrad philipaconrad deleted the ci-basics branch March 27, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github actions Involves GHA workflow changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants