Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ run-name: python tests

on:
push:
branches:
- main
paths:
- '**.py'
- 'pyproject.toml'
Expand Down Expand Up @@ -52,14 +54,11 @@ jobs:
restore-keys: |
uv-${{ runner.os }}-python${{ env.PYTHON_VERSION }}-

- name: Install dependencies
run: uv sync --locked --extra dev

- name: Lint check
run: uv run ruff check .
run: uv run --locked --extra dev ruff check

- name: Type check
run: uv run pyrefly check
run: uv run --locked --extra dev pyrefly check

test:
name: Test with Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -100,8 +99,5 @@ jobs:
uv-${{ runner.os }}-python${{ matrix.python-version }}-
uv-${{ runner.os }}-

- name: Install dependencies
run: uv sync --locked --extra dev

- name: Run tests
run: uv run --extra dev pytest
run: uv run --locked --extra dev pytest