Skip to content

Commit

Permalink
add dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker committed Mar 4, 2025
1 parent bb019e1 commit 8023136
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pipeline {
source $WORKSPACE/etc/profile.d/uenv.sh
source ./setup-env.sh /user-environment
source .venv/bin/activate
uenv run mch/v8:rc4 -- pytest -v -n auto test/system_test.py test/balfrin_system_test.py
uenv run mch/v8:rc4 -- pytest -v -n auto test/common_system_test.py test/balfrin_system_test.py
"""
}
}
Expand Down
2 changes: 1 addition & 1 deletion cscs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Integration Test:
System Test:
extends: .test_common
variables:
TEST: test/system_test.py
TEST: test/common_system_test.py test/santis_system_test.py

Summarize Logs:
extends: .container-runner-lightweight-zen2
Expand Down
5 changes: 4 additions & 1 deletion docs/Testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ This is a common way to do it.
Pull Request Testing for spack-c2sm on GitHub
---------------------------------------------

To test a PR, create a comment ``launch jenkins``.
To test a PR, create a comment ``launch jenkins``. This will trigger a Jenkins job that will test the PR.
To test on Alps (Santis) create an additional comment ``cscs-ci run santis``.


Supported machines:

* balfrin
* santis

Jenkins test with uenv
----------------------
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions test/santis_system_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import pytest
from spack_commands import spack_install

def test_install_py_tabulate_0_8_10():
spack_install('[email protected]')

0 comments on commit 8023136

Please sign in to comment.