Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dotnet-retest #9

Merged
merged 1 commit into from
Dec 27, 2024
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
13 changes: 13 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-retest": {
"version": "0.6.3",
"commands": [
"dotnet-retest"
],
"rollForward": false
}
}
}
5 changes: 4 additions & 1 deletion .github/workflows/build-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
- run: dotnet tool restore
- run: dotnet build -c Debug -p:DefineConstants=RUNNING_IN_CI
- run: dotnet build -c Release -p:DefineConstants=RUNNING_IN_CI
- run: dotnet pack ./src/Multicaster/Multicaster.csproj -c Debug --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
- run: dotnet test -c Debug --no-build
- run: dotnet retest -- -c Debug --no-build
- run: dotnet retest -- -c Release --no-build
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
with:
name: nuget
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
- run: dotnet build -c Release -p:VersionPrefix=${{ inputs.tag }} -p:DefineConstants=RUNNING_IN_CI
- run: dotnet test -c Release --no-build
- run: dotnet retest -- -c Release --no-build
- run: dotnet pack -c Release --no-build -p:VersionPrefix=${{ inputs.tag }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o ./publish
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
with:
Expand Down
10 changes: 10 additions & 0 deletions Multicaster.sln
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Multicaster.Distributed.Nat
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Multicaster.Distributed.Nats.Tests", "test\Multicaster.Distributed.Nats.Tests\Multicaster.Distributed.Nats.Tests.csproj", "{356A4FF9-E1E8-4A5D-A7B4-281DD5FD3E35}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub Actions", "GitHub Actions", "{65CEBDFD-BB48-49B3-B03D-BADFF0F900BB}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build-main.yaml = .github\workflows\build-main.yaml
.github\workflows\build-release.yml = .github\workflows\build-release.yml
.github\workflows\stale.yml = .github\workflows\stale.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -56,6 +63,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{65CEBDFD-BB48-49B3-B03D-BADFF0F900BB} = {7ED9EEF8-6BF3-4F69-BD7E-D1B25905BD30}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A3218708-7C93-4BC3-8892-F28ACD66F876}
EndGlobalSection
Expand Down
Loading