ts: optionally build cache files to run tests

When TESTSUITE_ENABLE_MODULECACHE environment variable is set, cache
file is built for all modulepaths of the testsuite. Tests are run using
the cache files to resolve available modules.
This commit is contained in:
Xavier Delaruelle
2022-12-22 17:42:40 +01:00
parent cc1b47ceb3
commit 1cd8a67b52
8 changed files with 69 additions and 2 deletions

View File

@@ -181,6 +181,7 @@ jobs:
COVERAGE_MULTILIB: y
EXTRA_SCRIPT_PRETEST: make install-testsiteconfig-1 && export TESTSUITE_ENABLE_SITECONFIG=1
EXTRA_SCRIPT_POSTTEST: unset TESTSUITE_ENABLE_SITECONFIG
TESTSUITE_ENABLE_MODULECACHE: 1
steps:
- uses: actions/checkout@v3
with: