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

test: add additional policy verification test #341

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

mikhailswift
Copy link
Member

@mikhailswift mikhailswift commented Aug 27, 2024

This adds an additional test for policy verification to make sure that policy verification fails if all the expected attestations do not appear in a step's collection.

What this PR does / why we need it

This will help prevent breakages as changes to the internal policy code occur. The current tests are an improvement over what we had, but they will definitely need improvement over time. These serve as a baseline to increase confidence when modifying policy code.

Which issue(s) this PR fixes (optional)

(optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged)*

Fixes #

Acceptance Criteria Met

  • Docs changes if needed
  • Testing changes if needed
  • All workflow checks passing (automatically enforced)
  • All review conversations resolved (automatically enforced)
  • DCO Sign-off

Special notes for your reviewer:

This adds an additional test for policy verification to make sure that
policy verification fails if all the expected attestations do not appear
in a step's collection.

Signed-off-by: Mikhail Swift <[email protected]>
@jkjell jkjell merged commit 5e25f8c into main Aug 28, 2024
16 checks passed
@jkjell jkjell deleted the test/more-policy-testing branch August 28, 2024 14:08
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