Skip to content

kjlippold is running HydroServer SensorThings Tests on refs/heads/91-pydantic-v2 #105

kjlippold is running HydroServer SensorThings Tests on refs/heads/91-pydantic-v2

kjlippold is running HydroServer SensorThings Tests on refs/heads/91-pydantic-v2 #105

Workflow file for this run

name: HydroServer SensorThings Tests
run-name: ${{ github.actor }} is running HydroServer SensorThings Tests on ${{ github.ref }}
on: [push, pull_request]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
- name: Run unit tests
run: |
python -m pytest --import-mode=append tests/