Very very very very verbose srun output #28
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" | |
on: | |
pull_request: | |
push: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
services: | |
# Add a mysql databse for SLURM to use | |
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@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Setup MPI | |
uses: mpi4py/setup-mpi@v1 | |
- name: Setup SLURM | |
uses: koesterlab/setup-slurm-action@v1 | |
- name: Print SLURM info | |
run: sinfo -Nel | |
- name: Install hatch | |
run: pipx install hatch | |
- name: Run tests | |
run: hatch run test:run | |
- name: Debug SLURM queue | |
if: always() | |
run: squeue |