Update nwm_client_new
routelink source for NWM v3.0 expanded domain…
#20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hydrotools.nwm_client_new | |
on: | |
push: | |
paths: | |
- 'python/nwm_client_new/**' | |
pull_request: | |
paths: | |
- 'python/nwm_client_new/**' | |
workflow_dispatch: | |
jobs: | |
unittests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python3 -m pip install -U pip | |
python3 -m pip install ./python/nwm_client_new[develop] | |
- name: Echo dependency versions | |
run: | | |
python3 -m pip freeze | |
- name: Run unittests | |
run: | | |
python3 -m pytest -s -m "not slow" ./python/nwm_client_new/ |