Skip_test_flakyness added.

pull/7154/head
Gokhan Gulbiz 2023-08-23 11:17:14 +03:00
parent d33088a79a
commit 2398b2fb21
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 6 additions and 1 deletions

View File

@ -35,6 +35,10 @@ on:
citusupgrade_image_name: citusupgrade_image_name:
required: false required: false
default: "citus/citusupgradetester" default: "citus/citusupgradetester"
skip_test_flakyness:
required: false
default: false
type: boolean
jobs: jobs:
check-sql-snapshots: check-sql-snapshots:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -403,6 +407,7 @@ jobs:
count: 32 count: 32
test-flakyness-pre: test-flakyness-pre:
name: Detect regression tests need to be ran name: Detect regression tests need to be ran
if: ${{ inputs.skip_test_flakyness == 'false' }}}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
outputs: outputs:
@ -444,7 +449,7 @@ jobs:
- uses: "./.github/actions/install_extension" - uses: "./.github/actions/install_extension"
- name: Run minimal tests - name: Run minimal tests
run: |- run: |-
tests=${{ needs.test-flakyness-pre.outputs.tests }} tests="${{ needs.test-flakyness-pre.outputs.tests }}"
tests_array=($tests) tests_array=($tests)
for test in "${tests_array[@]}" for test in "${tests_array[@]}"
do do