Skip to content

Update models

Update models #25

name: Python package
on:
push:
branches:
- '*'
workflow_call: {}
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10","3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: oceanum-io/oceanum-python
ref: prax-cli
path: libs/oceanum-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
pip install libs/oceanum-python
pip install .[test]
- name: Lint code with Ruff
run: |
pip install ruff
ruff check --output-format=github --target-version=py310 --exclude=tests --exclude=oceanum-python
continue-on-error: true
- name: Run unit-tests
run: |
pytest --cov oceanum.cli.prax tests/ -s -v