[ci] Run scheduler unittests with GitHub Actions #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Schedulers | |
on: | |
pull_request: [] | |
jobs: | |
squeue-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Images | |
run: | | |
docker compose -f .github/slurm-cluster/docker-compose.yaml build | |
- name: Run Unittests | |
run: | | |
docker compose -f .github/slurm-cluster/docker-compose.yml up --abort-on-container-exit --exit-code-from frontend |