Skip to content

Commit

Permalink
fix(workflow, docker): IBuildDockerImage component runs after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
candoumbe committed Jan 1, 2025
1 parent 6da5176 commit 566fd87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Dropped `net8.0` support
- Separated directory for code coverage and code coverage history between unit and integration tests for both.

### 🛠️ Fixes
- `IBuildDockerImage` component should run AFTER `IUnitTest`, `IIntegrationTest` and `IMutationTest` components.


## [0.12.1] / 2024-11-12
### 🛠️ Fixes
- Fixed incorrect verbosity of the default implementation of the `IUnitTest` component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public interface IBuildDockerImage : INukeBuild
/// </summary>
public Target BuildDockerImages => _ => _
.Description("Build docker images")
.TryAfter<IUnitTest>()
.TryAfter<IIntegrationTest>()
.TryAfter<IMutationTest>()
.TryAfter<IBenchmark>()
.OnlyWhenStatic(() => DockerFiles.AtLeastOnce())
.Executes(() =>
{
Expand Down

0 comments on commit 566fd87

Please sign in to comment.