This commit is contained in:
rasbt
2025-02-19 19:27:23 -06:00
parent b13abe3187
commit 6b3b8d545b

View File

@@ -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