Skip to content

Merge pull request #62 from ocean-uhh/53-plugin-mechanism #66

Merge pull request #62 from ocean-uhh/53-plugin-mechanism

Merge pull request #62 from ocean-uhh/53-plugin-mechanism #66

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11", "3.12", "3.13"] # Min, popular, latest stable
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Install SeaSenseLib in development mode
run: |
pip install -e .
- name: Run unit tests from tests folder
run: |
pytest tests/ -v -x