build(deps): bump coverlet.msbuild from 6.0.1 to 6.0.2 #305
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Tests' | |
on: | |
workflow_dispatch: # To can dispatch manually | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
branches: | |
- main | |
env: | |
SDK_VERSION_7: '7.0.407' | |
SDK_VERSION_6: '6.0.420' | |
SDK_VERSION_5: '5.0.408' | |
SDK_VERSION_3: '3.1.426' | |
TEST_RESULTS_DIRECTORY: './TestResults' | |
jobs: | |
test-project: | |
name: "Test nuget" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Setup .NET" | |
uses: actions/setup-dotnet@v4.0.0 | |
with: | |
dotnet-version: | | |
${{ env.SDK_VERSION_7 }} | |
${{ env.SDK_VERSION_6 }} | |
${{ env.SDK_VERSION_5 }} | |
${{ env.SDK_VERSION_3 }} | |
- name: "Restore dependencies" | |
run: dotnet restore | |
- name: "Build" | |
run: dotnet build --configuration Release --no-restore | |
- name: "Run tests" | |
run: dotnet test --configuration Release --no-build --verbosity normal --results-directory ${{ env.TEST_RESULTS_DIRECTORY }} --logger "junit;LogFileName=test-result-$(uuidgen).xml" --logger "console;verbosity=detailed" | |
- name: "Publish test results" | |
uses: test-summary/action@v2 | |
if: always() | |
with: | |
paths: "${{ env.TEST_RESULTS_DIRECTORY }}/**/*.xml" |