Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/acceptable_memory_usage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ jobs:
- uses: actions/checkout@v6

- id: count_new_commits
run: echo "num_new_commits=$(git log --oneline --since '24 hours ago' | wc -l)" >> "$GITHUB_OUTPUT"

run: >-
echo "num_new_commits=$(git log --oneline --since '24 hours ago' |
wc -l)" >> "$GITHUB_OUTPUT"

run:
name: Python ${{ matrix.python-version }} Performance Tests
runs-on: ${{ matrix.os }}

needs: check_for_new_commits
if: ${{ github.event_name == 'workflow_dispatch' || needs.check_for_new_commits.outputs.num_new_commits > 0 }}
if: >-
${{ github.event_name == 'workflow_dispatch' ||
needs.check_for_new_commits.outputs.num_new_commits > 0 }}

strategy:
fail-fast: false
Expand Down