forked from EESSI/test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added config for automatically running test suite after software laye…
…r build jobs by the bot
- Loading branch information
Caspar van Leeuwen
committed
Feb 7, 2024
1 parent
937e34e
commit c081fe1
Showing
1 changed file
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# ReFrame configuration file that can be used in GitHub Actions with EESSI | ||
|
||
from eessi.testsuite.common_config import common_logging_config | ||
from eessi.testsuite.constants import * # noqa: F403 | ||
|
||
|
||
site_configuration = { | ||
'systems': [ | ||
{ | ||
'name': 'Testing in bot Build jobs for EESSI software Layer', | ||
'descr': 'Software-layer bot', | ||
'hostnames': ['.*'], | ||
'modules_system': 'lmod', | ||
'partitions': [ | ||
{ | ||
'name': 'default', | ||
'scheduler': 'local', | ||
'launcher': 'mpirun', | ||
'environs': ['default'], | ||
'features': [FEATURES[CPU]], | ||
'resources': [ | ||
{ | ||
'name': 'memory', | ||
'options': ['--mem={size}'], | ||
} | ||
], | ||
'max_jobs': 1 | ||
} | ||
] | ||
} | ||
], | ||
'environments': [ | ||
{ | ||
'name': 'default', | ||
'cc': 'cc', | ||
'cxx': '', | ||
'ftn': '' | ||
} | ||
], | ||
'general': [ | ||
{ | ||
'purge_environment': True, | ||
'resolve_module_conflicts': False, # avoid loading the module before submitting the job | ||
# Enable automatic detection of CPU architecture | ||
# See https://reframe-hpc.readthedocs.io/en/stable/configure.html#auto-detecting-processor-information | ||
'remote_detect': True, | ||
} | ||
], | ||
'logging': common_logging_config(), | ||
} |