Skip to content

Allocate workers in one slurm job #192

Allocate workers in one slurm job

Allocate workers in one slurm job #192

Workflow file for this run

name: Docker Test CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
build-args: MATRIX_EXTRAS=dev
tags: matrix-tests:${{ github.sha }}
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run tests in container
run: |
docker run --rm --entrypoint pytest matrix-tests:${{ github.sha }} -q