From 3735eb9723fac51034ab96cfd23d63039a813ed0 Mon Sep 17 00:00:00 2001 From: Sermet Pekin <96650846+SermetPekin@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:41:56 +0300 Subject: [PATCH] simplify test.yml - one command for both platforms --- .github/workflows/test.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 300b219..2f91015 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,24 +29,13 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v7 - # Linux: Request 'cpu' extra to force the pytorch-cpu index (prevents libcublas crash) - name: Install dependencies (Linux) - if: runner.os == 'Linux' run: | uv sync --extra cpu - uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu - - # macOS: Standard sync - - name: Install dependencies (macOS) - if: runner.os == 'macOS' - run: uv sync - - name: Add nanochat to PYTHONPATH (Unix) run: | echo "PYTHONPATH=$(pwd):$PYTHONPATH" >> $GITHUB_ENV - - name: Run pytest run: | uv run --extra cpu pytest tests/ -v -