Skip to content

Merge pull request #314 from NielsPilgaard/dependabot/nuget/Microsoft… #137

Merge pull request #314 from NielsPilgaard/dependabot/nuget/Microsoft…

Merge pull request #314 from NielsPilgaard/dependabot/nuget/Microsoft… #137

name: Chat - Run Tests
on:
push:
paths:
- "src/container_apps/Jordnaer.Chat/**"
- "tests/container_apps/Jordnaer.Chat/**"
- ".github/workflows/container_apps_chat_ci.yml"
workflow_dispatch:
env:
WORKING_DIRECTORY: tests/container_apps/Jordnaer.Chat.Tests
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
- name: Test
# Dependabot cannot access secrets, so we disable this step for Dependabot
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
run: >
dotnet test "${{ env.WORKING_DIRECTORY }}"
--logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true"
--filter Category!=ManualTest
env:
ConnectionStrings__AppConfig: ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}