Skip to content

Viewer consolidation, workflow segmentation, and VM monitoring (#9) #10

Viewer consolidation, workflow segmentation, and VM monitoring (#9)

Viewer consolidation, workflow segmentation, and VM monitoring (#9) #10

Workflow file for this run

name: Test
on:
pull_request:
branches:
- '**'
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Run ruff linter (check)
run: uv run ruff check openadapt_ml/
- name: Run ruff formatter (check)
run: uv run ruff format --check openadapt_ml/
- name: Run pytest
run: uv run pytest tests/ -v