Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github: HofmeisterAn
github: [testcontainers, HofmeisterAn]
ko_fi: hofmeister
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
shell: bash

- name: Run Build
run: ./build.sh --target=Build
run: ./build.sh --target=Build --test-project=${{ matrix.test-projects.name }}
shell: bash

- name: Run Tests
Expand Down
11 changes: 9 additions & 2 deletions build/Tasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,14 @@ public sealed class BuildTask : FrostingTask<BuildContext>
public override void Run(BuildContext context)
{
var param = context.Parameters;
context.DotNetBuild(param.Solution, new DotNetBuildSettings

// If a test project is specified, just build the project and its dependent projects to
// save build time.
var solutionOrProjectFilePath = string.IsNullOrEmpty(param.TestProject)
? param.Solution
: param.Projects.OnlyTests.Single(testProject => testProject.Path.FullPath.EndsWith(param.TestProject + ".Tests.csproj")).Path.FullPath;

context.DotNetBuild(solutionOrProjectFilePath, new DotNetBuildSettings
{
Configuration = param.Configuration,
Verbosity = param.Verbosity,
Expand Down Expand Up @@ -193,7 +200,7 @@ public override void Run(BuildContext context)
public sealed class SignNuGetPackagesTask : FrostingTask<BuildContext>
{
// We do not have access to a valid code signing certificate anymore.
public override bool ShouldRun(BuildContext context) => context.Parameters.ShouldPublish && false;
public override bool ShouldRun(BuildContext context) => /* context.Parameters.ShouldPublish */ false;

public override void Run(BuildContext context)
{
Expand Down