Skip to content

Commit

Permalink
chore: default to fast tests for manual durable test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Nov 28, 2023
1 parent 21eebd7 commit 6c023fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/schedule-durable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
type: string
description: Path regex passed to Jest to select which tests to run
required: true
default: .
default: fast

env:
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
run: |
# For scheduled events, "test_selector" will be null. Run all tests for QA but only "fast" ones for other
# envs.
test_selector=${{ github.event.inputs.test_selector || '.' }}
test_selector=${{ github.event.inputs.test_selector || 'fast' }}
if [[ ${{ github.event.inputs.test_selector == null }} == 'true' ]]; then
if [[ ${{ matrix.network != 'qa' }} == 'true' ]]; then
test_selector="fast"
if [[ ${{ matrix.network == 'qa' }} == 'true' ]]; then
test_selector="."
fi
fi
make TEST_SELECTOR="$test_selector" schedule-durable-tests

0 comments on commit 6c023fd

Please sign in to comment.