-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust
avc
check setup and fix docs generation (#3373)
* Allow individual tests set their `avc` checks as needed Let's go the other way round: Enable the check by default, allow individual tests to set it according to their needs by a simple definition and disable it globally when not initiated by packit. * Explore all available plugins when generating docs We also need test checks and who knows what else in the future as well. So let's just explore them all.
- Loading branch information
Showing
3 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,14 @@ framework: beakerlib | |
contact: Petr Šplíchal <[email protected]> | ||
tier: 2 | ||
require: [tmt] | ||
check: [avc] | ||
duration: 10m | ||
environment: | ||
TMT_FEELING_SAFE: 1 | ||
|
||
adjust: | ||
- check: [avc] | ||
when: initiator == packit | ||
- check: [] | ||
when: initiator is not defined or initiator != packit | ||
because: | ||
we don't want to run the avc check for local testing as it | ||
needs root and we're executing tests under a regular user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters