Skip to content

Commit 1d50345

Browse files
author
Niru Nahesh
committed
Trying editable mode
1 parent cca0d53 commit 1d50345

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
curl -LsSf https://astral.sh/uv/install.sh | sh
2828
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2929
30+
- name: Create virtual environment
31+
run: uv venv
32+
3033
- name: Install project with dev dependencies
31-
run: |
32-
uv pip install -e .[dev]
34+
run: uv pip install -e .[dev]
3335

3436
- name: Run ruff
35-
run: |
36-
ruff check .
37+
run: uv run ruff check .
3738

3839
- name: Run tests with pytest
39-
run: |
40-
pytest --cov --cov-report=term-missing
40+
run: uv run pytest --cov --cov-report=term-missing

.github/workflows/typecheck.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ jobs:
2727
curl -LsSf https://astral.sh/uv/install.sh | sh
2828
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2929
30+
- name: Create virtual environment
31+
run: uv venv
32+
3033
- name: Install project with dev dependencies
31-
run: |
32-
uv pip install -e .[dev]
34+
run: uv pip install -e .[dev]
3335

3436
- name: Run Pyrefly Type Checker
35-
run: pyrefly check
37+
run: uv run pyrefly check

0 commit comments

Comments
 (0)