We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c8e7a commit eb52f20Copy full SHA for eb52f20
1 file changed
.github/workflows/test-github-models.yaml
@@ -17,11 +17,6 @@ jobs:
17
runs-on: ubuntu-latest
18
permissions:
19
contents: read
20
- strategy:
21
- matrix:
22
- python_file:
23
- - "chat.py"
24
- - "spanish/chat.py"
25
26
steps:
27
- uses: actions/checkout@v5
@@ -38,10 +33,14 @@ jobs:
38
33
run: |
39
34
uv pip install -r requirements.txt
40
35
41
- - name: Test ${{ matrix.python_file }} with GitHub Models
36
+ - name: Test chat files with GitHub Models
42
37
env:
43
API_HOST: github
44
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
GITHUB_MODEL: openai/gpt-4o-mini
46
47
- python ${{ matrix.python_file }}
+ files=("chat.py" "spanish/chat.py")
+ for file in "${files[@]}"; do
+ echo "Testing $file..."
+ python "$file" || exit 1
+ done
0 commit comments