Skip to content

Commit 2ff3592

Browse files
committed
whack
1 parent 8ef8ca2 commit 2ff3592

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/perf-ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff 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
@@ -57,7 +57,4 @@ jobs:
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"

0 commit comments

Comments
 (0)