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
51 changes: 2 additions & 49 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,52 +37,6 @@ jobs:
./Artifacts/*
./TestResults/*.trx

api-tests:
name: "API tests"
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: API checks
run: ./build.sh ApiChecks
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: API-tests
path: |
./Artifacts/*
./TestResults/*.trx

benchmarks:
name: "Benchmarks"
runs-on: ubuntu-latest
permissions:
contents: write
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: Run benchmarks
run: ./build.sh Benchmarks

static-code-analysis:
name: "Static code analysis"
runs-on: ubuntu-latest
Expand All @@ -105,7 +59,7 @@ jobs:

publish-test-results:
name: "Publish Tests Results"
needs: [ api-tests, unit-tests ]
needs: [ unit-tests ]
runs-on: ubuntu-latest
permissions:
checks: write
Expand All @@ -125,7 +79,7 @@ jobs:
pack:
name: "Pack"
runs-on: ubuntu-latest
needs: [ publish-test-results, benchmarks, static-code-analysis ]
needs: [ publish-test-results, static-code-analysis ]
env:
DOTNET_NOLOGO: true
steps:
Expand Down Expand Up @@ -223,7 +177,6 @@ jobs:
build-pages:
name: Update Pages
runs-on: ubuntu-latest
needs: [ benchmarks ]
steps:
- name: Trigger pages update in aweXpect Repo
run: |
Expand Down
53 changes: 1 addition & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,57 +37,6 @@ jobs:
./Artifacts/*
./TestResults/*.trx

api-tests:
name: "API tests"
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: API checks
run: ./build.sh ApiChecks
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: API-tests
path: |
./Artifacts/*
./TestResults/*.trx

benchmarks:
name: "Benchmarks"
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: Run benchmarks
run: ./build.sh Benchmarks
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: Benchmarks
path: |
./Artifacts/*

static-code-analysis:
name: "Static code analysis"
if: ${{ github.actor != 'dependabot[bot]'&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
Expand All @@ -111,7 +60,7 @@ jobs:

publish-test-results:
name: "Publish Tests Results"
needs: [ api-tests, unit-tests ]
needs: [ unit-tests ]
runs-on: ubuntu-latest
permissions:
Comment thread
vbreuss marked this conversation as resolved.
checks: write
Expand Down
9 changes: 0 additions & 9 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
"ExecutableTarget": {
"type": "string",
"enum": [
"ApiChecks",
"BenchmarkComment",
"BenchmarkDotNet",
"BenchmarkResult",
"Benchmarks",
"CalculateNugetVersion",
"Clean",
"CodeAnalysis",
Expand All @@ -37,10 +32,6 @@
"CodeCoverage",
"Compile",
"DotNetUnitTests",
"MutationComment",
"MutationTestDashboard",
"MutationTestExecution",
"MutationTests",
"Pack",
"Restore",
"UnitTests",
Expand Down

This file was deleted.

22 changes: 0 additions & 22 deletions Benchmarks/Mockolate.Migration.Benchmarks/HappyCaseBenchmarks.cs

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions Benchmarks/Mockolate.Migration.Benchmarks/Program.cs

This file was deleted.

15 changes: 14 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
<PackageVersion Include="LibGit2Sharp" Version="0.31.0"/>
<PackageVersion Include="SharpCompress" Version="0.47.3"/>
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.11.0"/>
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeRefactoring.Testing" Version="1.1.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.11.0" />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.163"/>
</ItemGroup>
Expand All @@ -23,8 +34,10 @@
<PackageVersion Include="xunit.v3" Version="3.2.2"/>
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5"/>
<PackageVersion Include="coverlet.collector" Version="8.0.1"/>
<PackageVersion Include="PublicApiGenerator" Version="11.5.4"/>
<PackageVersion Include="aweXpect" Version="2.31.0"/>
<PackageVersion Include="aweXpect.Chronology" Version="1.0.0"/>
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Moq" Version="4.20.72"/>
</ItemGroup>
</Project>
7 changes: 3 additions & 4 deletions Mockolate.Migration.slnx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<Solution>
<Folder Name="/Benchmarks/">
<Project Path="Benchmarks/Mockolate.Migration.Benchmarks/Mockolate.Migration.Benchmarks.csproj" />
</Folder>
<Folder Name="/Pipeline/">
<Project Path="Pipeline/Build.csproj" />
</Folder>
<Folder Name="/Tests/">
<Project Path="Tests/Mockolate.Migration.Api.Tests/Mockolate.Migration.Api.Tests.csproj" />
<Project Path="Tests/Mockolate.Migration.Example.Tests/Mockolate.Migration.Example.Tests.csproj" />
<Project Path="Tests/Mockolate.Migration.Tests/Mockolate.Migration.Tests.csproj" />
</Folder>
<Folder Name="/_/">
Expand Down Expand Up @@ -35,5 +32,7 @@
<Folder Name="/_/Tests/">
<File Path="Tests/Directory.Build.props" />
</Folder>
<Project Path="Source/Mockolate.Migration.Analyzers.CodeFixers/Mockolate.Migration.Analyzers.CodeFixers.csproj" />
<Project Path="Source/Mockolate.Migration.Analyzers/Mockolate.Migration.Analyzers.csproj" />
<Project Path="Source/Mockolate.Migration/Mockolate.Migration.csproj" />
</Solution>
28 changes: 0 additions & 28 deletions Pipeline/Build.ApiChecks.cs

This file was deleted.

Loading
Loading