Skip to content

Commit 106735f

Browse files
committed
whack
1 parent fa2d07d commit 106735f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/perf-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
echo "${{ secrets.PERFCI_CLIENT_KEY }}" >/ca/client.key
3939
cd angr/tests/perf
4040
for f in perf_*.py; do
41-
../../../venv/bin/python -m perfharness run -n 5 -w 1 --note 'GitHub Actions' $f
41+
if ! ../../../venv/bin/python -m perfharness run -n 5 -w 1 --note 'GitHub Actions' $f; then
42+
echo "$f failed" >>failed.txt
43+
fi
4244
done
4345
- name: Render
4446
run: |
@@ -53,4 +55,7 @@ jobs:
5355
formArgs="$formArgs --form files[$idx]=@$f"
5456
idx=$((idx + 1))
5557
done
56-
curl '${{ secrets.PERFCI_DISCORD_WEBHOOK }}?wait=true' $formArgs
58+
if [[ ! -e failed.txt ]]; then
59+
echo "All performance tests finished" >failed.txt
60+
fi
61+
curl '${{ secrets.PERFCI_DISCORD_WEBHOOK }}?wait=true' $formArgs --form "content=<failed.txt"

0 commit comments

Comments
 (0)