Skip to content

A straightforward method for training your LLM, from downloading data to generating text.

ci: run the end-to-end pipeline test on Linux only

FareedKhan-deve5575b84ea78
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 79bbff1..c6c9988 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -68,7 +68,14 @@ jobs:
fi
uv pip install -e . pytest beartype
- name: pytest
- run: uv run --no-sync pytest -q
+ shell: bash
+ run: |
+ # The end-to-end pipeline test (marked slow) runs every training script; once is enough.
+ if [ "$RUNNER_OS" = "Linux" ]; then
+ uv run --no-sync pytest -q
+ else
+ uv run --no-sync pytest -q -m "not slow"
+ fi
docs:
runs-on: ubuntu-latest