diff --git a/.github/workflows/basic-tests-windows-uv.yml b/.github/workflows/basic-tests-windows-uv.yml index 3539be7..d49a93c 100644 --- a/.github/workflows/basic-tests-windows-uv.yml +++ b/.github/workflows/basic-tests-windows-uv.yml @@ -45,17 +45,15 @@ jobs: - name: Run Python Tests shell: pwsh run: | - .\.venv\Scripts\Activate.ps1 - pytest --ruff setup/02_installing-python-libraries/tests.py - pytest --ruff ch04/01_main-chapter-code/tests.py - pytest --ruff ch05/01_main-chapter-code/tests.py - pytest --ruff ch05/07_gpt_to_llama/tests/tests.py - pytest --ruff ch06/01_main-chapter-code/tests.py + .venv\Scripts\python -m pytest --ruff setup/02_installing-python-libraries/tests.py + .venv\Scripts\python -m pytest --ruff ch04/01_main-chapter-code/tests.py + .venv\Scripts\python -m pytest --ruff ch05/01_main-chapter-code/tests.py + .venv\Scripts\python -m pytest --ruff ch05/07_gpt_to_llama/tests/tests.py + .venv\Scripts\python -m pytest --ruff ch06/01_main-chapter-code/tests.py - name: Run Jupyter Notebook Tests shell: pwsh run: | - .\.venv\Scripts\Activate.ps1 - pytest --ruff --nbval ch02/01_main-chapter-code/dataloader.ipynb - pytest --ruff --nbval ch03/01_main-chapter-code/multihead-attention.ipynb - pytest --ruff --nbval ch02/04_bonus_dataloader-intuition/dataloader-intuition.ipynb + .venv\Scripts\python -m pytest --ruff --nbval ch02/01_main-chapter-code/dataloader.ipynb + .venv\Scripts\python -m pytest --ruff --nbval ch03/01_main-chapter-code/multihead-attention.ipynb + .venv\Scripts\python -m pytest --ruff --nbval ch02/04_bonus_dataloader-intuition/dataloader-intuition.ipynb