Skip to content

Speed up formatting. No need to create venv, use uvx to just run ruff #285

Speed up formatting. No need to create venv, use uvx to just run ruff

Speed up formatting. No need to create venv, use uvx to just run ruff #285

Workflow file for this run

name: Build and Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev
# Remove this later: needed as server expects this dir to exist
- name: Mock Studio Web UI
run: mkdir -p ./app/web_ui/build && echo "test" > ./app/web_ui/build/index.html
- name: Test All Python
run: uv run python3 -m pytest .
- name: Check Python Types
run: uv run pyright .
- name: Build Core
run: uv build
working-directory: ./libs/core
- name: Build Server
run: uv build
working-directory: ./libs/server