From 1e0ca946903095f933add2661275094b51557202 Mon Sep 17 00:00:00 2001 From: pmaytak <34331512+pmaytak@users.noreply.github.com> Date: Wed, 2 Aug 2023 23:47:52 -0700 Subject: [PATCH] Added tests. --- .github/workflows/benchmark-action.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/benchmark-action.yml b/.github/workflows/benchmark-action.yml index c0a37797c0..aebfa2e39c 100644 --- a/.github/workflows/benchmark-action.yml +++ b/.github/workflows/benchmark-action.yml @@ -32,6 +32,23 @@ jobs: path: ./cache key: ${{ runner.os }}-benchmark + - name: Store AcquireTokenForClientCacheTests result + uses: benchmark-action/github-action-benchmark@v1 + with: + tool: 'benchmarkdotnet' + output-file-path: tests/Microsoft.Identity.Test.Performance/BenchmarkDotNet.Artifacts/results/Microsoft.Identity.Test.Performance.AcquireTokenForClientCacheTests-report-full-compressed.json + github-token: ${{ secrets.GITHUB_TOKEN }} + auto-push: true + #external-data-json-path: ./cache/benchmark-data.json + # Show alert with commit comment on detecting possible performance regression + alert-threshold: '1%' + comment-on-alert: true + fail-on-alert: true + alert-comment-cc-users: '@pmaytak' + summary-always: true + gh-pages-branch: gh-pages + benchmark-data-dir-path: benchmarks + - name: Store AcquireTokenNoCacheTests result uses: benchmark-action/github-action-benchmark@v1 with: