Skip to content

Bump nunit from 4.1.0 to 4.2.1 in /UnitTests (#353) #48

Bump nunit from 4.1.0 to 4.2.1 in /UnitTests (#353)

Bump nunit from 4.1.0 to 4.2.1 in /UnitTests (#353) #48

Workflow file for this run

name: Benchmark Tests
on:
push:
branches:
- master
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run Benchmark.Net
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.100
- name: Run benchmark
run: cd BenchmarkTests && dotnet run -c Release --framework net8.0 --exporters json --filter '*'
- name: Combine benchmark results
run: dotnet tool install -g dotnet-script && cd BenchmarkTests && dotnet script combine-bechmarks.csx
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Benchmark.Net Benchmark
tool: 'benchmarkdotnet'
output-file-path: BenchmarkTests/BenchmarkDotNet.Artifacts/results/Combined.Benchmarks.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: '200%'
comment-on-alert: true