Skip to content

Commit

Permalink
suppport on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-heilbron committed Dec 24, 2024
1 parent 256884f commit 0a93dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nightly-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ jobs:

performance_tests_on_demand:
name: on demand performance tests
if: ${{ env.ENABLE_PERFORMANCE_TESTS == 'true' && (github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'workflow_initiating_branch') }}
# This job does not respect the environment value of ENABLE_PERFORMANCE_TESTS
# This way, if a developer wanted to run the job on-demand, they could
if: ${{ github.event_name == 'workflow_dispatch' && inputs.run-performance && inputs.branch == 'workflow_initiating_branch' }}
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
Expand Down

0 comments on commit 0a93dcb

Please sign in to comment.