Skip to content

Commit

Permalink
Copy the job script to the cluster before running
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Jul 3, 2024
1 parent 97bcd27 commit 974f080
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ jobs:
needs: [local_integration_tests]
runs-on: self-hosted
steps:
- name: Copy job script to the cluster
run: scp actions-runner-job.sh mila

- name: Launch Slurm Actions Runner
run: ssh mila "sbatch ~/repos/ResearchTemplate/actions-runner-job.sh"
run: ssh mila sbatch actions-runner-job.sh

slurm_integration_tests:
needs: [local_integration_tests]
Expand Down

0 comments on commit 974f080

Please sign in to comment.