From 718560507281e59bacc7ced8599c225a11bb5b20 Mon Sep 17 00:00:00 2001 From: ouyangwenyu Date: Thu, 28 Mar 2024 11:44:35 +0800 Subject: [PATCH] add simple test in build yml --- .github/workflows/ubuntu.yml | 5 ++++- .github/workflows/windows.yml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 4a47012..429078f 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 827d69e..5ca0dbb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 \ No newline at end of file