Skip to content

Commit

Permalink
CI: fix Performance job
Browse files Browse the repository at this point in the history
Fix: 7714507
  • Loading branch information
IvanNardi committed Apr 7, 2023
1 parent 7714507 commit 1e90819
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
schedule:
#At the end of every day
- cron: '0 0 * * *'
pull_request:
branches:
- dev

jobs:
coverage:
Expand Down Expand Up @@ -101,8 +104,11 @@ jobs:
run: |
./tests/do.sh
mkdir ndpi-performance-upload
mv -v tests/result/cpu_profile.png ndpi-performance-upload/cpu_profile.png
mv -v tests/result/heap_profile.png ndpi-performance-upload/heap_profile.png
for d in $(find ./cfgs/* -type d -maxdepth 0 2>/dev/null) ; do
PROFILE="$(basename $d)"
mv -v tests/cfgs/${PROFILE}/result/cpu_profile.png ndpi-performance-upload/${PROFILE}_cpu_profile.png
mv -v tests/cfgs/${PROFILE}/result/heap_profile.png ndpi-performance-upload/${PROFILE}_heap_profile.png
done
- uses: actions/upload-artifact@v3
with:
name: ndpi-performance
Expand Down

0 comments on commit 1e90819

Please sign in to comment.