Skip to content

Commit

Permalink
add result parser
Browse files Browse the repository at this point in the history
  • Loading branch information
eranreshef-starkware committed May 2, 2024
1 parent cd5a74f commit 51d62ec
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
branches: [main, eran/ci/benchmark-tests]

jobs:
deploy-benchmark-teardown:
storage-benchmark:
runs-on: ubuntu-latest
permissions:
contents: "read"
contents: "write"
id-token: "write"

steps:
Expand Down Expand Up @@ -40,6 +40,29 @@ jobs:
pwd
ls -al
- name: Download previous benchmark data
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark

# Run `github-action-benchmark` action
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
# What benchmark tool the output.txt came from
tool: 'customSmallerIsBetter'
# Where the output from the benchmark tool is stored
output-file-path: output.txt
# Where the previous data file is stored
external-data-json-path: ./cache/benchmark-data.json
auto-push: false

# Push gh-pages branch by yourself
- name: Push benchmark result
run: git push 'https://you:${{ secrets.GITHUB_TOKEN }}@github.com/you/repo-name.git' gh-pages:gh-pages


# - name: Clean the deployment
# if: always()
# run: helm delete --namespace papyrus papyrus-${UNIQE_ID}

0 comments on commit 51d62ec

Please sign in to comment.