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

feat: setup tests for examples of checks #297

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

nikpivkin
Copy link
Contributor

@nikpivkin nikpivkin commented Dec 2, 2024

This PR adds an integration test to validate examples and test checks and fixes some examples and checks.

Related PRs:

TODO:

  • run trivy once

@nikpivkin nikpivkin force-pushed the test-examples-2 branch 2 times, most recently from 301e917 to c6b3669 Compare December 3, 2024 10:55
Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
@nikpivkin nikpivkin marked this pull request as ready for review December 3, 2024 15:17
@nikpivkin nikpivkin requested a review from simar7 as a code owner December 3, 2024 15:17
require.NoError(t, err)

parts := strings.Split(relPath, string(os.PathSeparator))
require.Len(t, parts, 5) // should never happen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean by this comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That comment is irrelevant, I've removed it

Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
@simar7 simar7 added this pull request to the merge queue Dec 4, 2024
Merged via the queue into aquasecurity:main with commit 22b28f5 Dec 4, 2024
6 checks passed
@nikpivkin nikpivkin deleted the test-examples-2 branch December 4, 2024 06:16
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.

2 participants