Skip to content

Commit 7a62a8a

Browse files
committed
Unit tests all pass locally, attempting to fix build action
1 parent 4f127bc commit 7a62a8a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
dotnet-version: |
2929
3.1.x
3030
6.0.x
31+
10.0.x
3132
- name: Build and Test
3233
run: dotnet test --logger "trx;LogFileName=test-results.trx"
3334
- name: Upload Test Results
34-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3536
if: success() || failure()
3637
with:
3738
name: test-results-${{ matrix.os }}

tests/extensions/Statiq.Web.Tests/ExamplesIntegrationFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void RunsExampleProject()
2323
string path = Path.GetFullPath(
2424
Path.Combine(
2525
Path.GetDirectoryName(typeof(ExamplesIntegrationFixture).Assembly.Location),
26-
@"..\..\..\..\..\examples\Statiq.Web.Examples"));
26+
@"..\..\..\..\..\..\examples\Statiq.Web.Examples"));
2727
ProcessLauncher processLauncher = new ProcessLauncher("dotnet", "run")
2828
{
2929
WorkingDirectory = path
@@ -34,4 +34,4 @@ public void RunsExampleProject()
3434
}
3535
}
3636
#endif
37-
}
37+
}

0 commit comments

Comments
 (0)