Browse Source

Don't run the `integration-test` job if there's no API key

cte 1 year ago
parent
commit
b7cd98da54
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/code-qa.yml

+ 1 - 0
.github/workflows/code-qa.yml

@@ -44,6 +44,7 @@ jobs:
         run: npm test
         run: npm test
 
 
   integration-test:
   integration-test:
+    if: "${{ secrets.OPENROUTER_API_KEY != '' }}"
     strategy:
     strategy:
       matrix:
       matrix:
         os: [ubuntu-latest] # macos-latest, windows-latest
         os: [ubuntu-latest] # macos-latest, windows-latest