Skip to content

remove nwm-client-new from unit tests #381

remove nwm-client-new from unit tests

remove nwm-client-new from unit tests #381

Workflow file for this run

name: Run Unit Tests
on:
push:
paths-ignore:
- './python/nwm_client_new/**'
pull_request:
paths-ignore:
- './python/nwm_client_new/**'
jobs:
unittests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
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/_restclient[develop]
python3 -m pip install ./python/nwis_client[develop]
python3 -m pip install ./python/caches[develop]
python3 -m pip install ./python/nwm_client[develop,gcp]
python3 -m pip install ./python/events[develop]
python3 -m pip install ./python/metrics[develop]
python3 -m pip install ./python/svi_client[develop]
- name: Echo dependency versions
run: |
python3 -m pip freeze
- name: Run all unittests
run: |
python3 -m pytest -s -m "not slow" --ignore=.python/nwm_client_new