We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb52f20 commit 0a634bfCopy full SHA for 0a634bf
2 files changed
.github/workflows/python.yaml
@@ -1,4 +1,4 @@
1
-name: Python checks
+name: Check example files are linted and formatted
2
3
on:
4
push:
.github/workflows/test-github-models.yaml
@@ -31,6 +31,7 @@ jobs:
31
32
- name: Install dependencies
33
run: |
34
+ uv venv .venv
35
uv pip install -r requirements.txt
36
37
- name: Test chat files with GitHub Models
@@ -39,8 +40,9 @@ jobs:
39
40
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
GITHUB_MODEL: openai/gpt-4o-mini
42
43
+ source .venv/bin/activate
44
files=("chat.py" "spanish/chat.py")
45
for file in "${files[@]}"; do
46
echo "Testing $file..."
- python "$file" || exit 1
47
+ uv python "$file" || exit 1
48
done
0 commit comments