Skip to content

Commit

Permalink
write hydro_setting when building
Browse files Browse the repository at this point in the history
  • Loading branch information
OuyangWenyu committed Mar 28, 2024
1 parent 7185605 commit 25fd2c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, py: "3.9" }
- { os: ubuntu-latest, py: "3.10" }
- { os: ubuntu-latest, py: "3.11" }
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand All @@ -39,6 +37,11 @@ jobs:
pip install --user -r requirements.txt
pip install --user -r requirements_dev.txt
pip install .
- name: Create hydro_setting.yml
run: |
echo 'local_data_path:' > hydro_setting.yml
echo ' datasets-origin: /home/runner/.cache/' >> hydro_setting.yml
# Add other settings here as required
- name: PKG-TEST
run: |
python -m pytest test/test_data_preprocess.py
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +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
# - 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 25fd2c9

Please sign in to comment.