Skip to content

Migrate setup.cfg to pyproject.toml #20

Migrate setup.cfg to pyproject.toml

Migrate setup.cfg to pyproject.toml #20

Workflow file for this run

name: hydrotools.nwis_client
on:
push:
paths:
- 'python/nwis_client/**'
pull_request:
paths:
- 'python/nwis_client/**'
workflow_dispatch:
jobs:
unittests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install ./python/_restclient
python3 -m pip install ./python/nwis_client[develop]
- name: Echo dependency versions
run: |
python3 -m pip freeze
- name: Run unittests
run: |
python3 -m pytest -s -m "not slow" ./python/nwis_client/