Skip to content

A github action to setup a small SLURM cluster for testing purposes.

License

Notifications You must be signed in to change notification settings

koesterlab/setup-slurm-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Github Action for setting up a small slurm cluster

This action utilizes https://github.com/galaxyproject/ansible-slurm for automatically setting up a SLURM cluster for testing purposes. It can be used in the following way:

jobs:
  testing:
    runs-on: ubuntu-latest
    # For the action to work, you have to supply a mysql
    # service as defined below.
    services:
      mysql:
        image: mysql:8.0
        env:
          MYSQL_ROOT_PASSWORD: root
        ports:
          - "8888:3306"
        options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
    steps:
      - uses: actions/checkout@v3

      - uses: koesterlab/setup-slurm-action@v1

      # Afterwards, you can submit to the slurm cluster via sbatch and srun, 
      # and interact via all other usual commands.

About

A github action to setup a small SLURM cluster for testing purposes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published