From d1ed11ada34a7bbfa983fea5647e03af18c4cbb1 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Mon, 2 Dec 2024 08:45:54 +0100 Subject: [PATCH] github, tests: use separate spread rules for FIPS test suite Use a separate rules file for matching the FIPS test suite tests. Signed-off-by: Maciej Borzecki --- .github/workflows/test.yaml | 3 ++- tests/lib/spread/rules/fips.yaml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/lib/spread/rules/fips.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0ed507b90bd..1458d6d5388 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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' diff --git a/tests/lib/spread/rules/fips.yaml b/tests/lib/spread/rules/fips.yaml new file mode 100644 index 00000000000..d6c6b386b29 --- /dev/null +++ b/tests/lib/spread/rules/fips.yaml @@ -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/]