Bump nunit from 4.1.0 to 4.2.1 in /UnitTests (#353) #48
This file contains 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
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 |