Просмотр исходного кода

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

cte 11 месяцев назад
Родитель
Сommit
b7cd98da54
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .github/workflows/code-qa.yml

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

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