Size SLURM memory from input sequence length #1
Workflow file for this run
This file contains hidden or 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: 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 |