Skip to content

Commit 5499861

Browse files
authored
fix: execute slurm command inside container
1 parent e286273 commit 5499861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/testslurm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Display previous jobs with sacct
2525
run: |
2626
echo "Allowing ports/daemons time to start" && sleep 10
27-
sacctmgr -i add account none,test Cluster=linux Description='none' Organization='none'"
27+
docker exec slurm bash -c "sacctmgr -i add account none,test Cluster=linux Description='none' Organization='none'"
2828
docker exec slurm bash -c "sacct && sinfo && squeue" 2&> /dev/null
2929
if [ $? -ne 0 ]; then
3030
echo "Slurm docker image error"

0 commit comments

Comments
 (0)