Add another end-to-end test over a single market movement (1 decision) #26
This file contains hidden or 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: CI - Lint & Typecheck | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - ".github/workflows/ci-lint-typecheck.yml" | |
| pull_request: | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - ".github/workflows/ci-lint-typecheck.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ruff: | |
| name: Ruff (lint + format) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Ruff check | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "check" | |
| - name: Ruff format (check) | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "format --check" | |
| typecheck: | |
| name: Typecheck (pyrefly) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Run pyrefly | |
| run: uv run pyrefly check |