Skip to content

Commit

Permalink
Update to check where these missing files are!
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Sep 4, 2024
1 parent cc0b804 commit ea77a52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@ jobs:
- run: dotnet build MigrationTools.sln /p:Version=${{ env.GitVersion_SemVer }} /p:FileVersion=${{ env.GitVersion_AssemblySemVer }} /p:InformationalVersion=${{ env.GitVersion_InformationalVersion }} /p:GitVersionTag=${{ env.GitVersion_PreReleaseLabel }}
name: Build MigrationTools.sln
id: Build
- name: "Check that required files exist!"
shell: pwsh
run: |
$foundFiles = Get-ChildItem -Path .\ -Recurse -Filter '*WITDataStore64*' | ForEach-Object { $_.FullName }
if ($foundFiles -eq $null) {
Write-Output "No WITDataStore64 found"
exit 1
} else {
Write-Output "Found WITDataStore64"
}
- run: dotnet tool install --global dotnet-sonarscanner
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory=L0|TestCategory=L1)"
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory=L2|TestCategory=L3)"
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory!=L0&TestCategory!=L1&TestCategory!=L2&TestCategory!=L3)"
Expand Down

0 comments on commit ea77a52

Please sign in to comment.