Skip to content

Commit 95baa8a

Browse files
author
Theofilos Manitaras
committed
Add pbs scheduler testing
Signed-off-by: Theofilos Manitaras <manitaras@cscs.ch>
1 parent c5b54f0 commit 95baa8a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/pseudo-cluster/reframe/docker-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ cp -r /usr/local/share/reframe .
1616
cd reframe
1717
./bootstrap.sh
1818

19+
echo "Running unittests with backend scheduler: ${BACKEND}"
20+
1921
tempdir=$(mktemp -d -p /scratch)
2022
TMPDIR=$tempdir ./test_reframe.py -v \
2123
--rfm-user-config=config/ci-cluster.py \

.github/workflows/test-schedulers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
scheduler: ['squeue', 'torque']
10+
scheduler: ['pbs', 'squeue', 'torque']
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Login to GitHub Container Registry

config/ci-cluster.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,19 @@
2828
{
2929
'name': 'compute-torque',
3030
'descr': 'Torque compute nodes',
31-
'scheduler': 'squeue',
31+
'scheduler': 'torque',
32+
'launcher': 'mpiexec',
33+
'access': ['-p all'],
34+
'environs': ['gnu', 'clang']
35+
},
36+
{
37+
'name': 'compute-pbs',
38+
'descr': 'PBS compute nodes',
39+
'scheduler': 'pbs',
3240
'launcher': 'mpiexec',
3341
'access': ['-p all'],
3442
'environs': ['gnu', 'clang']
3543
}
36-
3744
]
3845
},
3946
],

0 commit comments

Comments
 (0)