Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ jobs:
shell: pwsh
run: |
$failed = $false
Get-ChildItem "tests\*\bin\TestWindows\${{ matrix.framework }}\NuGet*.Test.exe" | ForEach-Object {
Write-Host "Running: $_"
& "$_"
"NuGetUtility.Test", "NuGetLicense.Test" | ForEach-Object {
$exe = "tests\$_\bin\TestWindows\${{ matrix.framework }}\$_.exe"
Write-Host "Running: $exe"
& $exe
if ($LASTEXITCODE -ne 0) { $failed = $true }
}
if ($failed) { exit 1 }
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@30375c66a4eea26614e0d39710365f22f8b0af57 # v3

- uses: browser-actions/setup-chrome@48ad923757ca74d66703209fe939badbdf80f2f4 # v2.2.0

- name: build
run: msbuild -t:rebuild -restore -p:RestorePackagesConfig=true -property:Configuration=Release NuGetUtility.slnx

- name: test
uses: josepho0918/vstest-action@678efa7c0bdf7a46f6977b47c50f9c6a184ae00e
with:
testAssembly: "NuGet*.Test.dll"
testAssembly: |
NuGetUtility.Test.dll
NuGetLicense.Test.dll
searchFolder: "tests/*/bin/Release/net10.0/"
runInParallel: true

Expand Down