Bump GitHubActionsTestLogger from 2.3.3 to 3.0.1 #24
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: | |
| - main | |
| - release/** | |
| env: | |
| STEP_TIMEOUT_MINUTES: 60 | |
| jobs: | |
| smoke_test: | |
| name: Smoke Test (Debug Build of Tools) | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Dependencies | |
| timeout-minutes: ${{ fromJSON(env.STEP_TIMEOUT_MINUTES) }} | |
| uses: "./.github/steps/install_dependencies" | |
| # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v1.3.1 | |
| - name: Build Tools (Debug) | |
| shell: pwsh | |
| run: msbuild ./Tools/Tools.csproj /r | |
| unit_test: | |
| name: Unit Tests | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Dependencies | |
| timeout-minutes: ${{ fromJSON(env.STEP_TIMEOUT_MINUTES) }} | |
| uses: "./.github/steps/install_dependencies" | |
| # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v1.3.1 | |
| - name: Build Tools.Tests (Release) | |
| shell: pwsh | |
| run: msbuild ./Tools.Tests/Tools.Tests.csproj /p:Configuration=Release /p:OverrideTargetFramework=net9.0 /r | |
| - name: Run Unit Tests | |
| shell: pwsh | |
| run: dotnet test ./Tools.Tests/Tools.Tests.csproj --no-build -c Release --logger GitHubActions --blame-crash --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover |