File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,17 +48,20 @@ jobs:
4848 - name : Run Benchmarks
4949 run : |
5050 if [ "${{ github.event_name }}" == "pull_request" ]; then
51- dotnet run -c Release --project ./src/Hexecs.Benchmarks/ -- --filter '*' --exporters json --join --job LowRuntime
51+ dotnet run -c Release --project ./src/Hexecs.Benchmarks/ -- --filter '*' --exporters json --join --job LowRuntime --artifacts ./BenchmarkArtifacts
5252 else
53- dotnet run -c Release --project ./src/Hexecs.Benchmarks/ -- --filter '*' --exporters json --join
53+ dotnet run -c Release --project ./src/Hexecs.Benchmarks/ -- --filter '*' --exporters json --join --artifacts ./BenchmarkArtifacts
5454 fi
5555
56+ - name : List results
57+ run : ls -R ./BenchmarkArtifacts
58+
5659 - name : Store benchmark result
5760 uses : benchmark-action/github-action-benchmark@v1
5861 with :
5962 tool : ' benchmarkdotnet'
6063 # BenchmarkDotNet при --join создает файл с именем '*-report-full.json' или 'BenchmarkRun-report.json'
61- output-file-path : ' BenchmarkDotNet.Artifacts /results/BenchmarkRun-report.json'
64+ output-file-path : ' ./BenchmarkArtifacts /results/BenchmarkRun-report.json'
6265 github-token : ${{ secrets.GITHUB_TOKEN }}
6366 auto-push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
6467 comment-on-alert : true
You can’t perform that action at this time.
0 commit comments