fix: add gemini key as env var in workflow and make config file optional

This commit is contained in:
Stevan Freeborn
2025-03-28 18:29:23 -05:00
parent 9dc43151b1
commit cc995c911e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -56,6 +56,8 @@ jobs:
- name: Build project
run: dotnet build ./AltGen.API.Tests/AltGen.API.Tests.csproj --no-restore
- name: Test project
env:
Gemini__ApiKey: ${{ secrets.GEMINI_APIKEY }}
run: dotnet test ./AltGen.API.Tests/AltGen.API.Tests.csproj --filter FullyQualifiedName!~PromptEvaluation
- name: Upload test coverage report
uses: actions/upload-artifact@v4