Skip to content

Commit

Permalink
add simple test in build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OuyangWenyu committed Mar 28, 2024
1 parent 894f225 commit 7185605
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ jobs:
pip install .
- name: PKG-TEST
run: |
python -m unittest discover tests/
python -m pytest test/test_data_preprocess.py
# python -m pytest test/test_xaj.py
# python -m pytest test/test_gr4j.py
# python -m pytest test/test_hymod.py
6 changes: 6 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ jobs:
pip install --no-cache-dir Cython
pip install -r requirements.txt
pip install .
- name: PKG-TEST
run: |
python -m pytest test/test_data_preprocess.py
# python -m pytest test/test_xaj.py
# python -m pytest test/test_gr4j.py
# python -m pytest test/test_hymod.py

0 comments on commit 7185605

Please sign in to comment.