Skip to content

Commit 010e09d

Browse files
committed
Run tests on github
1 parent 2463642 commit 010e09d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ jobs:
3434
echo "$newfiles"
3535
exit 1
3636
fi
37+
- name: Install uv and sync dev dependencies
38+
run: |
39+
pip install uv
40+
uv venv
41+
echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
42+
echo "$PWD/.venv/bin" >> $GITHUB_PATH
43+
uv sync --dev
44+
- name: Run tests with pytest
45+
run: pytest

0 commit comments

Comments
 (0)