mirror of
https://github.com/bec-project/slurm_manager.git
synced 2026-11-02 18:35:24 +01:00
19 lines
499 B
YAML
19 lines
499 B
YAML
name: Unit tests
|
|
on: [workflow_call]
|
|
jobs:
|
|
UnitTests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.12", "3.13", "3.14"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: python -m pip install -e '.[dev]'
|
|
- name: Run unit tests
|
|
run: python -m pytest --random-order -q test
|