-
Notifications
You must be signed in to change notification settings - Fork 4
Create CI build for all projects and fix package references #2
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
Open
Copilot
wants to merge
8
commits into
main
Choose a base branch
from
copilot/create-ci-build-all-projects
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c46ff0f
Initial plan
Copilot 94853cf
Create CI build for all projects and fix package references from 3.3.…
Copilot d43a857
Fix CI failures: correct calculator test, TUnit .NET 10 compat, forma…
Copilot e450309
Fix TUnit dotnet test compat on .NET 10 SDK and npm build for Customi…
Copilot cecc1a4
Fix CI failures: parallel jobs, SpecFlowCompatibility 3.3.3, Verify s…
Copilot e89a9a8
Fix nuget.config backslash path for CustomPlugins on Linux
Copilot d46a8ad
Fix 3 CI failures: CustomPlugins→Windows, SpecFlowProject build-only,…
Copilot aa194b7
Remove TestingPlatformDotnetTestSupport property
304NotModified File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,230 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| BigReqnrollProject: | ||
| name: BigReqnrollProject (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build BigReqnrollProject | ||
| run: dotnet build BigReqnrollProject/BigReqnrollProject.sln | ||
|
|
||
| ReqnrollCalculator: | ||
| name: ReqnrollCalculator (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build and test ReqnrollCalculator | ||
| run: dotnet test ReqnrollCalculator/ReqnrollCalculator.sln --verbosity minimal | ||
|
|
||
| ParallelExecution: | ||
| name: ParallelExecution (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build and test ParallelExecution | ||
| run: dotnet test ParallelExecution/ParallelExecution.sln --verbosity minimal | ||
|
|
||
| ReqnrollFormatters: | ||
| name: ReqnrollFormatters (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build CustomizedHtml template (npm) | ||
| working-directory: ReqnrollFormatters/ReqnrollFormatters.CustomizedHtml/CustomTemplate | ||
| run: | | ||
| npm install --no-fund --no-audit --legacy-peer-deps | ||
| npm run build | ||
| - name: Build ReqnrollFormatters | ||
| run: dotnet build ReqnrollFormatters/ReqnrollFormatters.sln --verbosity minimal | ||
|
|
||
| ReqnrollPlugins: | ||
| name: ReqnrollPlugins (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build and test ReqnrollPlugins | ||
| run: dotnet test ReqnrollPlugins/ReqnrollPlugins.sln --verbosity minimal | ||
|
|
||
| VisualBasicProject: | ||
| name: VisualBasicProject (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build and test VisualBasicProject | ||
| run: dotnet test VisualBasicProject/VisualBasicProject.sln --verbosity minimal | ||
|
|
||
| TestFrameworkSamples: | ||
| name: TestFrameworkSamples (Linux) | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build and test TestFrameworkSamples | ||
| run: | | ||
| dotnet build TestFrameworkSamples/TestFrameworkSamples.slnx --verbosity minimal | ||
| dotnet test TestFrameworkSamples/MsTest4Project/MsTest4Project.csproj --no-build --verbosity minimal | ||
| dotnet test TestFrameworkSamples/MsTestProject/MsTestProject.csproj --no-build --verbosity minimal | ||
| dotnet test TestFrameworkSamples/NUnitProject/NUnitProject.csproj --no-build --verbosity minimal | ||
| dotnet test TestFrameworkSamples/XUnit3Project/XUnit3Project.csproj --no-build --verbosity minimal | ||
| dotnet test TestFrameworkSamples/XUnitProject/XUnitProject.csproj --no-build --verbosity minimal | ||
| dotnet run --project TestFrameworkSamples/TUnitProject/TUnitProject.csproj --no-build | ||
|
|
||
| CustomPlugins: | ||
| name: CustomPlugins (Windows) | ||
| runs-on: windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build CustomPlugins plugin package | ||
| run: dotnet build CustomPlugins/CustomPlugins.TagDecoratorGeneratorPlugin.ReqnrollPlugin/CustomPlugins.TagDecoratorGeneratorPlugin.ReqnrollPlugin.csproj | ||
| - name: Build and test CustomPlugins | ||
| run: dotnet test CustomPlugins/CustomPlugins.TagDecoratorGeneratorPlugin.Test/CustomPlugins.TagDecoratorGeneratorPlugin.Test.csproj --verbosity minimal | ||
|
|
||
| CleanReqnrollProject: | ||
| name: CleanReqnrollProject (Windows) | ||
| runs-on: windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build CleanReqnrollProject | ||
| run: dotnet build CleanReqnrollProject/CleanReqnrollProject.sln --verbosity minimal | ||
| - name: Test CleanReqnrollProject | ||
| run: | | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net462/CleanReqnrollProject.Net462.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net472/CleanReqnrollProject.Net472.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net481/CleanReqnrollProject.Net481.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net481.x64/CleanReqnrollProject.Net481.x64.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net481.x86/CleanReqnrollProject.Net481.x86.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8/CleanReqnrollProject.Net8.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8.MsTestFw/CleanReqnrollProject.Net8.MsTestFw.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8.NUnitFw/CleanReqnrollProject.Net8.NUnitFw.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8.XunitFw/CleanReqnrollProject.Net8.XunitFw.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8.Xunit3Fw/CleanReqnrollProject.Net8.Xunit3Fw.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net8.MsTest4Fw/CleanReqnrollProject.Net8.MsTest4Fw.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net9/CleanReqnrollProject.Net9.csproj --no-build --verbosity minimal | ||
| dotnet test CleanReqnrollProject/CleanReqnrollProject.Net10/CleanReqnrollProject.Net10.csproj --no-build --verbosity minimal | ||
| dotnet run --project CleanReqnrollProject/CleanReqnrollProject.Net8.TUnitFw/CleanReqnrollProject.Net8.TUnitFw.csproj --no-build | ||
|
|
||
| SpecFlowCompatibilityProject: | ||
| name: SpecFlowCompatibilityProject (Windows) | ||
| runs-on: windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build SpecFlowCompatibilityProject | ||
| run: dotnet build SpecFlowCompatibilityProject/SpecFlowCompatibilityProject.slnx --verbosity minimal | ||
| - name: Test SpecFlowCompatibilityProject | ||
| run: | | ||
| dotnet test SpecFlowCompatibilityProject/SpecFlowCompatibilityProject.Net8/SpecFlowCompatibilityProject.Net8.csproj --no-build --verbosity minimal | ||
| dotnet test SpecFlowCompatibilityProject/SpecFlowCompatibilityProject.Net10/SpecFlowCompatibilityProject.Net10.csproj --no-build --verbosity minimal | ||
|
|
||
| SpecFlowProject: | ||
| name: SpecFlowProject (Windows) | ||
| runs-on: windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Build SpecFlowProject | ||
| run: dotnet build SpecFlowProject/SpecFlowProject.sln --verbosity minimal | ||
|
|
||
| OldProjectFileFormat: | ||
| name: OldProjectFileFormat (Windows) | ||
| runs-on: windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
| - name: Setup MSBuild | ||
| uses: microsoft/setup-msbuild@v2 | ||
| - name: Restore OldProjectFileFormat | ||
| run: nuget restore OldProjectFileFormat/OldProjectFileFormat.sln | ||
| - name: Build OldProjectFileFormat | ||
| run: msbuild OldProjectFileFormat/OldProjectFileFormat.sln /p:Configuration=Debug /verbosity:minimal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.