Skip to content

Commit ae1cfa8

Browse files
Copilotbrandonh-msftSergeyMenshykh
authored
devops: Add tests to release workflow before package creation (#128)
* Initial plan * Add test step to release workflow before package creation Co-authored-by: brandonh-msft <20270743+brandonh-msft@users.noreply.github.com> * Update release.yaml Run tests on all supported frameworks not just net9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: brandonh-msft <20270743+brandonh-msft@users.noreply.github.com> Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com> Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
1 parent 714ad95 commit ae1cfa8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
- name: Build
5757
run: dotnet build --configuration ${{ matrix.configuration }}
5858

59+
- name: Test
60+
run: dotnet test --no-build --configuration ${{ matrix.configuration }}
61+
5962
- name: Pack
6063
run: dotnet pack --configuration ${{ matrix.configuration }}
6164

@@ -175,4 +178,4 @@ jobs:
175178
${{github.workspace}}/build-artifacts/packages/*.nupkg
176179
--source https://api.nuget.org/v3/index.json
177180
--api-key ${{ secrets.NUGET_KEY_A2A }}
178-
--skip-duplicate
181+
--skip-duplicate

0 commit comments

Comments
 (0)