Skip to content

Commit

Permalink
Update Languages-Python-Example1.yml
Browse files Browse the repository at this point in the history
Fix final docker run bug.
  • Loading branch information
swinney authored Oct 23, 2024
1 parent eaccaac commit e4b6090
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/Languages-Python-Example1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,9 @@ jobs:
-w /workspace \
--cgroupns=host \
hpcnow/slurm_simulator:24.05.1 /usr/sbin/init
sbatch /workspace/Languages/Python/Example1/run.sbatch
- name: Wait for container to initialize
run: sleep 5

- name: Run sbatch inside the container
run: docker exec "${USER}_simulator" sbatch /workspace/Languages/Python/Example1/run.sbatch

0 comments on commit e4b6090

Please sign in to comment.