diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index a9ca8be151..55676aa305 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -51,6 +51,10 @@ jobs: name: card_profiler path: performance_profile/card_profiler.py + - name: Copy over card_profiler python script + run: | + cp performance_profile/card_profiler.py ./ + - name: Checkout main branch uses: actions/checkout@v4 with: @@ -71,16 +75,24 @@ jobs: - name: Show current files - ls run: | - ls + ls -l - name: Show current files - ls performance_profile run: | - ls performance_profile + ls -l performance_profile - name: Show current files - ls ls performance_profile/logs run: | - ls performance_profile/logs + ls -l performance_profile/logs + - name: Copy back card_profiler python script + run: | + cp card_profiler.py performance_profile/ + + - name: Show current files - ls performance_profile + run: | + ls -l performance_profile + - name: Run performance on main branch run: | python -m performance_profile.card_profiler