mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
use env
This commit is contained in:
18
.github/workflows/basic-tests-windows-uv.yml
vendored
18
.github/workflows/basic-tests-windows-uv.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user