ModernUO/Projects
Kamron Batman 326dc470de fix(ci): run test projects on CI and drop impossible LowerStatReq tests
CI reported success despite two failing tests because the Test step ran
`dotnet test --no-restore`, but the Build step (BuildTool) only restores
and builds Application - never the test projects. Without a restore, the
test projects have no project.assets.json, so the Microsoft.NET.Test.Sdk
build targets aren't imported, the projects aren't recognized as test
projects, and `dotnet test` invokes the VSTest target against zero
projects: no output, exit 0. Failures were silently masked.

- Replace `--no-restore` with `dotnet test --logger trx --results-directory`
  on both the macOS and Linux jobs so the test projects restore and run.
- Add a guard that fails the job if no .trx is produced, as a permanent
  backstop against silent zero-test passes.

Also removes the two AosWeapon/AosArmor `EmitsLowerStatReqWhenPassed`
tests. PR #2501 deliberately emits LowerStatReq (1060435) inline in each
item, not in AosWeaponAttributes/AosArmorAttributes.GetProperties, which
no longer take a lowerStatReq argument. A prior "fix" dropped the argument
to make them compile but left the assertions expecting 1060435, so they
threw KeyNotFoundException at runtime. The "not emitted by GetProperties"
behavior stays covered by the sibling tests; the stale comments that
claimed lowerStatReq is passed in are removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 22:14:03 -07:00
..
Application feat(build-tool): add application icon and refresh MUO.ico (#2487) 2026-06-14 11:59:54 -07:00
BuildTool fix: Bumps dependencies. Adds Server 2012/2016 support. (#2509) 2026-07-02 19:29:34 -07:00
Logger fix: Fixes publishing with build tool (#2398) 2026-04-04 00:35:39 -07:00
Server feat(opl): OplTextBlock multi-line tooltip builder + AddChunked (#2507) 2026-07-02 19:41:36 -07:00
Server.Tests feat(opl): OplTextBlock multi-line tooltip builder + AddChunked (#2507) 2026-07-02 19:41:36 -07:00
UOContent fix(ci): run test projects on CI and drop impossible LowerStatReq tests 2026-07-02 22:14:03 -07:00
UOContent.Tests fix(ci): run test projects on CI and drop impossible LowerStatReq tests 2026-07-02 22:14:03 -07:00