Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Make tests faster (#8737)
Browse files Browse the repository at this point in the history
* Test changes

* Make finding the test tile a little smarter
  • Loading branch information
wrexbe authored Jun 20, 2022
1 parent bd54b8d commit 81e3b2d
Show file tree
Hide file tree
Showing 80 changed files with 1,768 additions and 1,787 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-test-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,8 @@ jobs:
- name: Run Content.Tests
run: dotnet test --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0

- name: Run Content.IntegrationTests
shell: pwsh
run: |
$env:DOTNET_gcServer=1
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
2 changes: 1 addition & 1 deletion Content.Client/Clothing/ClothingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private void RenderEquipment(EntityUid equipee, EntityUid equipment, string slot
// temporary, until layer draw depths get added. Basically: a layer with the key "slot" is being used as a
// bookmark to determine where in the list of layers we should insert the clothing layers.
bool slotLayerExists = sprite.LayerMapTryGet(slot, out var index);

// add the new layers
foreach (var (key, layerData) in ev.Layers)
{
Expand Down
Loading

0 comments on commit 81e3b2d

Please sign in to comment.