Skip to content

Commit

Permalink
Give it a little bit of HOW 'BOUT NOW
Browse files Browse the repository at this point in the history
  • Loading branch information
enusbaum authored Sep 28, 2024
1 parent 5a0d39c commit 95c2b68
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,9 @@ jobs:
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}

- name: List directories for debugging
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: pwsh # Using PowerShell
run: |
Get-ChildItem -Path "./vstudio" -Recurse
- name: Run Unit Tests
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: pwsh # Ensures this step runs with PowerShell
shell: pwsh # Ensure this step runs with PowerShell
run: |
# Find test DLLs (adjust this path as needed based on your project's output structure)
$testDlls = Get-ChildItem -Path "./vstudio/bin/${{env.BUILD_CONFIGURATION}}" -Filter *.Tests.dll -Recurse
# Run the tests
foreach ($dll in $testDlls) {
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" $dll.FullName
}
# Run the compiled tests executable
& "D:\a\wbtrv32\wbtrv32\bin\tests\x64\Release\tests.exe"

0 comments on commit 95c2b68

Please sign in to comment.