8000 Expose path to github so pre commit works · lolpack/type_coverage_py@08f0196 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08f0196

Browse files
committed
Expose path to github so pre commit works
1 parent 51a7c45 commit 08f0196

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
python -m pip install --upgrade pip
3030
# Install your dependencies; adjust the following lines as needed
3131
pip install -r requirements.txt
32+
# persists the venv’s scripts dir
33+
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
3234
# Run tests
3335
pytest
3436
@@ -52,4 +54,4 @@ jobs:
5254

5355
# Run Pyrefly type checking
5456
- name: Typecheck with Pyrefly
55-
run: .venv/bin/pyrefly check
57+
run: pyrefly check

0 commit comments

Comments
 (0)
0