microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/move-activity-classes-to-core-again

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/core-test.yaml

41lines · modecode

1name: Core-Test
2permissions:
3 contents: read
4 pull-requests: write
5
6on:
7 workflow_dispatch:
8
9jobs:
10 build-and-test:
11 runs-on: ubuntu-latest
12 environment: test_tenant
13
14 steps:
15 - uses: actions/checkout@v4
16 with:
17 fetch-depth: 0
18
19 - name: Setup .NET
20 uses: actions/setup-dotnet@v4
21 with:
22 dotnet-version: '10.0.x'
23
24 - name: Restore dependencies
25 run: dotnet restore
26 working-directory: core
27
28 - name: Build
29 run: dotnet build --no-restore
30 working-directory: core
31
32 - name: Test
33 run: dotnet test --no-build test/Microsoft.Bot.Core.Tests/Microsoft.Bot.Core.Tests.csproj
34 working-directory: core
35 env:
36 AzureAd__Instance: 'https://login.microsoftonline.com/'
37 AzureAd__ClientId: 'aabdbd62-bc97-4afb-83ee-575594577de5'
38 AzureAd__TenantId: '56653e9d-2158-46ee-90d7-675c39642038'
39 AzureAd__Scope: 'https://api.botframework.com/.default'
40 AzureAd__ClientCredentials__0__SourceType: 'ClientSecret'
41 AzureAd__ClientCredentials__0__ClientSecret: ${{ secrets.CLIENT_SECRET}}