-
Notifications
You must be signed in to change notification settings - Fork 54
Add integration tests using Testcontainers #354
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
Changes from all commits
65b0d8a
7fdcd28
189b64a
1922d93
72cef1d
cda1cfb
090ba16
e85c72d
3221a8b
594dc68
5ce4125
fc35bcc
3dc6dc0
9ba8c87
dc3c86c
8ef78a3
5f42d70
080bb68
61324ba
2b73996
46d041c
70ff06b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | |||||||||||||||||||||||||||||
| name: Integration Tests | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| on: | |||||||||||||||||||||||||||||
| workflow_dispatch: # Manual trigger only | |||||||||||||||||||||||||||||
| push: | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||||||||
| integration-test: | |||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| timeout-minutes: 10 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| steps: | |||||||||||||||||||||||||||||
| - name: Checkout code | |||||||||||||||||||||||||||||
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Set up Go | |||||||||||||||||||||||||||||
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| go-version: 1.24.2 | |||||||||||||||||||||||||||||
| cache: true | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Set up Docker Buildx | |||||||||||||||||||||||||||||
| uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Run integration tests | |||||||||||||||||||||||||||||
| run: make integration-tests | |||||||||||||||||||||||||||||
|
Comment on lines
+9
to
+26
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI 8 days ago To fix the problem, explicitly define a permissions:
contents: readThis block can be added at the workflow root (applies to all jobs), or more specifically, to the To implement this, add
Suggested changeset
1
.github/workflows/integration-test.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Positive FeedbackNegative Feedback
Refresh and try again.
|
|||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding this additional workflow because I have to build the DMR image before running tests. This temporary, integration test should be run in the normal CI workflow