From 357074639c6249541ca344bd7c31efd2c044d49e Mon Sep 17 00:00:00 2001 From: Mark Cilia Vincenti Date: Sun, 24 Nov 2024 19:27:28 +0100 Subject: [PATCH] add net8.0 benchmarks --- .github/workflows/dotnet.yml | 10 +++++++--- ReadHeavyCollections.sln | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 038dc46..3f05ac3 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -28,15 +28,19 @@ jobs: - name: Build run: dotnet build --no-restore --configuration Release - + - name: Test run: dotnet test --no-restore --configuration Release --logger:"console;verbosity=normal" --collect:"XPlat Code Coverage" --settings coverlet.runsettings - + - name: Code Coverage uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + + - name: Run benchmark (net8.0) + run: dotnet run --framework net8.0 --configuration Release --exporters json --filter '*' + working-directory: Benchmarks - - name: Run benchmark + - name: Run benchmark (net9.0) run: dotnet run --framework net9.0 --configuration Release --exporters json --filter '*' working-directory: Benchmarks diff --git a/ReadHeavyCollections.sln b/ReadHeavyCollections.sln index 7d585f8..6e063d7 100644 --- a/ReadHeavyCollections.sln +++ b/ReadHeavyCollections.sln @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props Directory.Packages.props = Directory.Packages.props + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml Versions.props = Versions.props EndProjectSection EndProject