[CE-528] add CI for quality checks: ruff and pytest #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-dagster-modal | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'libraries/dagster-modal/**' | |
jobs: | |
check: | |
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' | |
- name: Sync dependencies | |
run: uv sync | |
working-directory: 'libraries/dagster-modal' | |
- name: Ruff check | |
working-directory: 'libraries/dagster-modal' | |
run: ruff check | |
- name: Run pytest | |
working-directory: 'libraries/dagster-modal' | |
run: uv run pytest |