Skip to content

Commit

Permalink
Add SourceLink support
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Maruszak <maruszaktomasz@gmail.com>
  • Loading branch information
zarusz committed Jun 15, 2024
1 parent e60b21f commit 176b2fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ jobs:

- name: Unit Tests
run: dotnet test $SOLUTION_NAME --configuration $SOLUTION_CONFIGURATION --no-build --verbosity normal --logger html --results-directory TestResults --collect:"XPlat Code Coverage;Format=opencover" --filter Category!=Integration
if: false
working-directory: ./src

- name: Integrations Tests
# Run integration tests against the test infrastructure if secrets are provided
run: dotnet test $SOLUTION_NAME --configuration $SOLUTION_CONFIGURATION --no-build --verbosity normal --logger html --results-directory TestResults --collect:"XPlat Code Coverage;Format=opencover" --filter Category=Integration
if: false
working-directory: ./src
env:
azure_servicebus_connectionstring: ${{ secrets.azure_servicebus_connectionstring }}
Expand Down Expand Up @@ -152,6 +154,7 @@ jobs:
run: |
mkdir ./dist
find -name "*.nupkg" -exec cp {} ./dist \;
find -name "*.snupkg" -exec cp {} ./dist \;
find ./dist
- name: Archive NuGet packages
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion build/tasks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function TestCi() {
function NuPack() {
foreach ($project in $projects) {
_Step "Package project $project"
& dotnet pack "$root\src\$project\$project.csproj" --output $dist_folder --configuration $config
& dotnet pack "$root\src\$project\$project.csproj" --output $dist_folder --configuration $config -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
_AssertExec
}
}
Expand Down

0 comments on commit 176b2fd

Please sign in to comment.