Skip to content

Size SLURM memory from input sequence length #2

Size SLURM memory from input sequence length

Size SLURM memory from input sequence length #2

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Byte-compile common.smk
# common.smk is plain Python and carries the memory/length logic.
run: python -m py_compile workflow/rules/common.smk
- name: Run resource/length unit tests
# The suite loads common.smk directly and needs no third-party deps;
# the SLURM-plugin integration test self-skips when the plugin is absent.
run: python test/test_memory_resources.py