add chapter 6 unit test

This commit is contained in:
rasbt
2024-05-12 18:51:28 -05:00
parent 281400feca
commit 21172a6a7e
5 changed files with 69 additions and 27 deletions

View File

@@ -38,9 +38,10 @@ jobs:
- name: Test Selected Python Scripts
run: |
pytest setup/02_installing-python-libraries/tests.py
pytest ch04/01_main-chapter-code/tests.py
pytest ch05/01_main-chapter-code/tests.py
pytest setup/02_installing-python-libraries/tests.py
pytest ch06/01_main-chapter-code/gpt-class-finetune.py --test_mode
- name: Validate Selected Jupyter Notebooks
run: |

View File

@@ -38,9 +38,10 @@ jobs:
- name: Test Selected Python Scripts
run: |
pytest setup/02_installing-python-libraries/tests.py
pytest ch04/01_main-chapter-code/tests.py
pytest ch05/01_main-chapter-code/tests.py
pytest setup/02_installing-python-libraries/tests.py
pytest ch06/01_main-chapter-code/gpt-class-finetune.py --test_mode
- name: Validate Selected Jupyter Notebooks
run: |

View File

@@ -41,9 +41,10 @@ jobs:
- name: Test Selected Python Scripts
shell: bash
run: |
pytest setup/02_installing-python-libraries/tests.py
pytest ch04/01_main-chapter-code/tests.py
pytest ch05/01_main-chapter-code/tests.py
pytest setup/02_installing-python-libraries/tests.py
pytest ch06/01_main-chapter-code/gpt-class-finetune.py --test_mode
- name: Validate Selected Jupyter Notebooks
shell: bash