Skip to content

Commit

Permalink
Enable GitHub reporter in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Dec 9, 2023
1 parent 18aa848 commit 3d0ce08
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,15 @@ jobs:
- name: build
run: dotnet build --no-restore -c Release tests/VbaCompiler.Benchmark/VbaCompiler.Benchmark.csproj

- name: run
run: dotnet run -c Release --project tests/VbaCompiler.Benchmark/VbaCompiler.Benchmark.csproj
- name: benchmark
shell: bash
run: |
dotnet run -e github -c Release --artifacts --project tests/VbaCompiler.Benchmark/VbaCompiler.Benchmark.csproj
{
echo "## VBA Compiler Benchmark"
echo ""
echo "Runner: \`${{ matrix.os }}\`"
echo ""
cat "BenchmarkDotNet.Artifacts/results/CompileMacroBenchmark-report-github.md"
} >> $GITHUB_STEP_SUMMARY

0 comments on commit 3d0ce08

Please sign in to comment.