Skip to content

Commit

Permalink
Re-enable compat tests in actions
Browse files Browse the repository at this point in the history
Against my better judgement
  • Loading branch information
Cyberboss committed Jul 13, 2023
1 parent 7dbcdce commit 37316cc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/Tgstation.Server.Tests/Live/TestLiveServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,18 +1117,18 @@ async Task FailFast(Task task)

async Task RunInstanceTests()
{
var compatTests =
TestingUtils.RunningInGitHubActions
? Task.CompletedTask
: FailFast(
instanceTest
.RunCompatTests(
new Version(510, 1346),
adminClient.Instances.CreateClient(compatInstance),
compatDMPort,
compatDDPort,
server.HighPriorityDreamDaemon,
cancellationToken));
var compatTests = FailFast(
instanceTest
.RunCompatTests(
new Version(510, 1346),
adminClient.Instances.CreateClient(compatInstance),
compatDMPort,
compatDDPort,
server.HighPriorityDreamDaemon,
cancellationToken));

if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
await compatTests;

await FailFast(
instanceTest
Expand Down

0 comments on commit 37316cc

Please sign in to comment.