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 85a0865 commit cbb6392
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ 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 @@ -117,9 +121,11 @@ jobs:
- name: Prepare PR Message
run: |
echo 'MESSAGE<<EOF' >> $GITHUB_ENV
echo "Benchmark ${GITHUB_SHA}" >> $GITHUB_ENV
echo "Benchmark ${sha_short}" >> $GITHUB_ENV
echo 'Root Span Comparisons:' >> $GITHUB_ENV
echo '```json' >> $GITHUB_ENV
echo "$ROOT_SPAN_COMPARISON" | jq . >> $GITHUB_ENV
echo '```' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
Expand Down

0 comments on commit cbb6392

Please sign in to comment.