File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
3838 echo "${{ secrets.PERFCI_CLIENT_KEY }}" >/ca/client.key
3939 cd angr/tests/perf
4040 for f in perf_*.py; do
41- if ! ../../../venv/bin/python -m perfharness run -n 5 -w 1 --note 'GitHub Actions' $f; then
41+ if ../../../venv/bin/python -m perfharness run -n 5 -w 1 --note 'GitHub Actions' $f; then
42+ ../../../venv/bin/python -m perfharness viz --since '2 weeks ago' --note 'GitHub Actions' --save $f.png $f
43+ else
4244 echo "$f failed" >>failed.txt
4345 fi
4446 done
45- - name : Render
46- run : |
47- cd angr/tests/perf
48- for f in perf_*.py; do
49- ../../../venv/bin/python -m perfharness viz --since '2 weeks ago' --save $f.png $f
50- done
47+ if [[ ! -e failed.txt ]]; then
48+ echo "All performance tests finished" >>failed.txt
49+ fi
50+ cat failed.txt
5151 - name : Upload
5252 run : |
5353 cd angr/tests/perf
5757 formArgs="$formArgs --form files[$idx]=@$f"
5858 idx=$((idx + 1))
5959 done
60- if [[ ! -e failed.txt ]]; then
61- echo "All performance tests finished" >failed.txt
62- fi
6360 curl '${{ secrets.PERFCI_DISCORD_WEBHOOK }}?wait=true' $formArgs --form "content=<failed.txt"
You can’t perform that action at this time.
0 commit comments