From 6c16e8b3718236dcc0682df3d4c75a3919f3e950 Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Tue, 7 Feb 2023 10:14:14 +0300 Subject: [PATCH] Reorganize input variables and namings. --- .github/workflows/sqlancer-test-pipelines.yml | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/sqlancer-test-pipelines.yml b/.github/workflows/sqlancer-test-pipelines.yml index b94b45f01..da59bdae1 100644 --- a/.github/workflows/sqlancer-test-pipelines.yml +++ b/.github/workflows/sqlancer-test-pipelines.yml @@ -1,18 +1,12 @@ -name: Run sqlancer on release branch +name: Run sqlancer tests on: - push: - branches: "**" workflow_dispatch: inputs: citus_release: default: release-11.1 - timeout: - default: 1m - -env: - timeout: ${{ inputs.timeout }} - citus_release: ${{ inputs.citus_release }} + description: 'Branch, tag or SHA to run tests against' + required: true jobs: @@ -38,17 +32,17 @@ jobs: run: | make install-all -sj$(cat /proc/cpuinfo | grep "core id" | wc -l) 2>&1 | tee -a output.log - - name: Setup Maven - uses: s4u/setup-maven-action@v1.6.0 - with: - java-version: 11 - - name: Checkout Sqlancer uses: actions/checkout@v3 with: ref: master repository: sqlancer/sqlancer + - name: Setup Maven + uses: s4u/setup-maven-action@v1.6.0 + with: + java-version: 11 + - name: Build SQLancer run: mvn -B package -DskipTests=true @@ -109,13 +103,13 @@ jobs: then errors_table["$error"]="$file " else - errors_table["$error"]="${errors_table[$error]} $file " + errors_table["$error"]=", ${errors_table[$error]} $file " fi done < <(grep -noR "ERROR:.*" logs/citus) for key in "${!errors_table[@]}"; do echo "### $key" >> $GITHUB_STEP_SUMMARY - echo "${errors_table[$key]}" >> $GITHUB_STEP_SUMMARY + echo "in ${errors_table[$key]}" >> $GITHUB_STEP_SUMMARY done shell: bash