Skip to content

Commit

Permalink
Change to slurm emulator using docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
swinney committed Sep 16, 2024
1 parent 3b9b824 commit 36bebf5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/Languages-Python-Example1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install SLURM
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Pull SLURM Simulator Docker Image
run: |
sudo apt-get update
sudo apt-get install -y slurm-wlm
docker pull hpcnow/slurm_simulator:20.11.9
- name: Run SLURM batch file
- name: Run SLURM job in Docker
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 \
sbatch Languages/Python/Example1/run.slurm

0 comments on commit 36bebf5

Please sign in to comment.