Skip to content

Commit 6e42e52

Browse files
committed
test: add gpt-4o-2024-08-06 to our smoke test action
Signed-off-by: Nick Hale <[email protected]>
1 parent b288879 commit 6e42e52

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/smoke.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,35 @@ jobs:
5959
6060
echo "run_smoke_tests=false" >> $GITHUB_OUTPUT
6161
62+
gpt-4o-2024-08-06:
63+
needs: check-label
64+
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
65+
runs-on: ubuntu-22.04
66+
steps:
67+
- name: Checkout base repository
68+
uses: actions/checkout@v4
69+
with:
70+
fetch-depth: 1
71+
- name: Checkout PR code if running for a PR
72+
if: ${{ github.event_name == 'pull_request_target' }}
73+
uses: actions/checkout@v4
74+
with:
75+
fetch-depth: 1
76+
repository: ${{ github.event.pull_request.head.repo.full_name }}
77+
ref: ${{ github.event.pull_request.head.ref }}
78+
- uses: actions/setup-go@v5
79+
with:
80+
cache: false
81+
go-version: "1.21"
82+
- env:
83+
OPENAI_API_KEY: ${{ secrets.SMOKE_OPENAI_API_KEY }}
84+
GPTSCRIPT_DEFAULT_MODEL: gpt-4o-2024-08-06
85+
name: Run smoke test for gpt-4o-2024-08-06
86+
run: |
87+
echo "Running smoke test for model gpt-4o-2024-08-06"
88+
export PATH="$(pwd)/bin:${PATH}"
89+
make smoke
90+
6291
gpt-4o-2024-05-13:
6392
needs: check-label
6493
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}

0 commit comments

Comments
 (0)