Skip to content

Commit b818bdb

Browse files
committed
test adjustments. Skip doc commits during build
1 parent 6ed7334 commit b818bdb

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ on:
66
- main
77
- prerelease
88
- dev
9+
paths-ignore:
10+
- 'docs/**'
11+
- '*.md'
12+
- 'mkdocs.yml'
913
pull_request:
1014
branches: [ release ]
15+
paths-ignore:
16+
- 'docs/**'
17+
- '*.md'
18+
- 'mkdocs.yml'
1119

1220
jobs:
1321
build:

Synthesis.Bethesda.IntegrationTests/Infrastructure/IntegrationTestBase.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ public string ExportSettingsWithPatchers(
757757
SynthesisVersioning = NugetVersioningEnum.Manual,
758758
SynthesisManualVersion = synthesisVersion,
759759
SplitIfMaxMastersExceeded = splitIfMaxMastersExceeded,
760+
UpdateLoadOrderAfterRun = false,
760761
Groups = new List<PatcherGroupSettings>
761762
{
762763
new PatcherGroupSettings
@@ -917,8 +918,14 @@ await Observable.Return(System.Reactive.Unit.Default)
917918
{
918919
if (!patcher.State.RunnableState.Succeeded)
919920
{
920-
if (patcher.State.RunnableState.Exception != null) throw patcher.State.RunnableState.Exception;
921-
throw new Exception(patcher.State.RunnableState.Reason);
921+
var reason = patcher.State.RunnableState.Reason;
922+
var msg = $"Patcher '{patcher.NameVm.Name}' is not runnable. Reason: {reason}";
923+
Output.WriteLine(msg);
924+
if (patcher.State.RunnableState.Exception != null)
925+
{
926+
throw new Exception(msg, patcher.State.RunnableState.Exception);
927+
}
928+
throw new Exception(msg);
922929
}
923930
}
924931
}

0 commit comments

Comments
 (0)