Bring svi_client
field name maps into compliance with pydanic>2
#3
Workflow file for this run
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.svi_client | |
on: | |
push: | |
paths: | |
- 'python/svi_client/**' | |
pull_request: | |
paths: | |
- 'python/svi_client/**' | |
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/svi_client[develop] | |
- name: Echo dependency versions | |
run: | | |
python3 -m pip freeze | |
- name: Run unittests | |
run: | | |
python3 -m pytest -s -m "not slow" ./python/svi_client/ |