Skip to content

Commit

Permalink
github, tests: use separate spread rules for FIPS test suite
Browse files Browse the repository at this point in the history
Use a separate rules file for matching the FIPS test suite tests.

Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo authored and Meulengracht committed Dec 2, 2024
1 parent 91d362f commit d1ed11a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ jobs:
backend: google-pro
systems: 'ubuntu-fips-22.04-64'
tasks: 'tests/fips/...'
rules: 'main'
# XXX fips test suite comes with separate ruless file
rules: 'fips'
- group: nested-ubuntu-18.04
backend: google-nested
systems: 'ubuntu-18.04-64'
Expand Down
14 changes: 14 additions & 0 deletions tests/lib/spread/rules/fips.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# rules for the tests/fips test suite, which runs a subset of tests from
# tests/main and tests/smoke suites
rules:
tests:
from:
# selected tests from the main and smoke test suites are symlinked to
# tests/fips test suite
- tests/main/.*
- tests/smoke/.*
to: [tests/fips/]

rest:
from: [.*]
to: [tests/fips/]

0 comments on commit d1ed11a

Please sign in to comment.