We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0c72a4 + 34687ef commit 7a59ec3Copy full SHA for 7a59ec3
.github/workflows/integrationTests.yaml
@@ -46,10 +46,11 @@ jobs:
46
- name: Run integration tests
47
env:
48
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
49
+ if: ${{ env.OPENAI_API_KEY != '' }}
50
+ run: pnpm run integrationTests
51
+
52
+ - name: Skip integration tests
53
+ if: ${{ env.OPENAI_API_KEY == '' }}
54
run: |
- if [ -z "$OPENAI_API_KEY" ]; then
- echo "Skipping integration tests due to missing required API keys"
- exit 1
- else
- pnpm run integrationTests
55
- fi
+ echo "Skipping integration tests due to missing required API keys"
56
+ exit 1
0 commit comments