Skip to content

Commit 8bc4f14

Browse files
committed
fix(ci): remove --no-build from release.yml test steps
dotnet build RegiLattice.sln does not guarantee all test DLLs are present — CLI.Tests may be skipped due to build ordering. Removing --no-build allows each test step to perform an incremental self-build (fast) before running. Mirrors ci.yml which correctly uses --no-restore only. This was the root cause of the Test(CLI) 'DLL not found' failure in the v6.23.0 and v6.22.0 release runs.
1 parent a832c2a commit 8bc4f14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,23 @@ jobs:
5151
- name: Test (Core)
5252
run: >-
5353
dotnet test tests/RegiLattice.Core.Tests/RegiLattice.Core.Tests.csproj
54-
-c Release --no-build --no-restore
54+
-c Release --no-restore
5555
--settings tests/.runsettings
5656
--blame-hang-timeout 30s
5757
--logger "console;verbosity=minimal"
5858
5959
- name: Test (CLI)
6060
run: >-
6161
dotnet test tests/RegiLattice.CLI.Tests/RegiLattice.CLI.Tests.csproj
62-
-c Release --no-build --no-restore
62+
-c Release --no-restore
6363
--settings tests/.runsettings
6464
--blame-hang-timeout 30s
6565
--logger "console;verbosity=minimal"
6666
6767
- name: Test (GUI)
6868
run: >-
6969
dotnet test tests/RegiLattice.GUI.Tests/RegiLattice.GUI.Tests.csproj
70-
-c Release --no-build --no-restore
70+
-c Release --no-restore
7171
--settings tests/.runsettings
7272
--blame-hang-timeout 30s
7373
--logger "console;verbosity=minimal"

0 commit comments

Comments
 (0)