Skip to content

[CE-528] add CI for quality checks: ruff and pytest #3

[CE-528] add CI for quality checks: ruff and pytest

[CE-528] add CI for quality checks: ruff and pytest #3

Workflow file for this run

name: test-dagster-modal
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'libraries/dagster-modal/**'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install Python
run: uv python install
working-directory: 'libraries/dagster-modal'
format:
runs-on: ubuntu-latest
needs: [setup]
steps:
- name: Check ruff format
working-directory: 'libraries/dagster-modal'
run: ruff check
test:
runs-on: ubuntu-latest
needs: [setup]
steps:
- name: Run tests
working-directory: 'libraries/dagster-modal'
run: uv run pytest