-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packit/TMT: organize test plans based on rpm dependency
Unit and validate tests don't need to depend on the built rpm and it's sufficient to run them on only 1 target. So, it's more convenient to re-org the test plans based on rpm dependency. Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
27 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
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 |
---|---|---|
@@ -1,28 +1,26 @@ | ||
# Only common dependencies that are NOT required to run netavark-tests.sh are | ||
# specified here. Everything else is in netavark-tests.sh. | ||
require: | ||
- aardvark-dns-tests | ||
- cargo | ||
- clippy | ||
- rustfmt | ||
|
||
adjust: | ||
duration: 10m | ||
when: arch == aarch64 | ||
|
||
/validate: | ||
tag: upstream | ||
tag: [ no-rpm, validate ] | ||
summary: Validate test | ||
test: make -C ../.. validate | ||
require: | ||
- clippy | ||
- rustfmt | ||
|
||
/unit: | ||
tag: upstream | ||
summary: Unit test | ||
tag: [ no-rpm, unit ] | ||
summary: Unit tests | ||
test: make -C ../.. unit | ||
require: | ||
- cargo | ||
|
||
/integration: | ||
tag: [ upstream, downstream] | ||
tag: [ rpm, integration ] | ||
summary: Integration tests | ||
test: bash test_integration.sh | ||
environment: | ||
AARDVARK: /usr/libexec/podman/aardvark-dns | ||
require: | ||
- aardvark-dns-tests | ||
adjust: | ||
duration: 10m | ||
when: arch == aarch64 |