Skip to content

Commit

Permalink
Update benchmark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Dec 23, 2023
1 parent cbb6392 commit fc6b149
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ jobs:
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-$(python -c 'import torch; print(torch.__version__.split("+")[0])')+cpu.html
pip install -e '.[dev, tracing]'
- name: Declare some variables
shell: bash
run: echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"

- name: Write PR traces
run: python benchmark/write.py --output_dir branch

Expand All @@ -121,7 +117,8 @@ jobs:
- name: Prepare PR Message
run: |
echo 'MESSAGE<<EOF' >> $GITHUB_ENV
echo "Benchmark ${sha_short}" >> $GITHUB_ENV
echo "Benchmark (${github.event.pull_request.head.sha})" >> $GITHUB_ENV
echo '' >> $GITHUB_ENV
echo 'Root Span Comparisons:' >> $GITHUB_ENV
echo '```json' >> $GITHUB_ENV
echo "$ROOT_SPAN_COMPARISON" | jq . >> $GITHUB_ENV
Expand Down Expand Up @@ -155,7 +152,7 @@ jobs:
# echo "EOF" >> $GITHUB_ENV

- name: Comment on PR
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down

0 comments on commit fc6b149

Please sign in to comment.