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

Double-check that GPG tests run where expected. #434

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

znewman01
Copy link
Contributor

The test suite passes even if GPG is not available, because GPG-dependent tests are skipped if GPG is not present.

This change asserts the availability of GPG, so CI environments that expect GPG will notice if it goes away unexpectedly rather than silently skipping the GPG tests.

Signed-off-by: Zachary Newman [email protected]

Addresses (does not fix): #428

Please verify and check that the pull request fulfils the following requirements:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

The test suite passes even if GPG is not available, because GPG-dependent
tests are skipped if GPG is not present.

This change asserts the availability of GPG, so CI environments that expect GPG
will notice if it goes away unexpectedly rather than silently skipping the GPG
tests.

Signed-off-by: Zachary Newman <[email protected]>
Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

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

Great work, thanks!

@lukpueh lukpueh merged commit 165cbd4 into secure-systems-lab:master Oct 4, 2022
znewman01 added a commit to znewman01/securesystemslib that referenced this pull request Oct 13, 2022
Fixes secure-systems-lab#428. Okay to do this because we will fail tests if GPG is unexpectedly
unavailable (secure-systems-lab#434).

Signed-off-by: Zachary Newman <[email protected]>
znewman01 added a commit to znewman01/securesystemslib that referenced this pull request Oct 13, 2022
Fixes secure-systems-lab#428. Okay to do this because we will fail tests if GPG is unexpectedly
unavailable (secure-systems-lab#434).

Signed-off-by: Zachary Newman <[email protected]>
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