Fix for check-sql-snapshots and check-style issues

pull/7154/head
Gokhan Gulbiz 2023-08-17 12:06:28 +03:00
parent 91e3229be7
commit 01e2596b2c
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 12 additions and 9 deletions

View File

@ -30,12 +30,22 @@ on:
# GIT_TOKEN: xxxx # GIT_TOKEN: xxxx
# GIT_USERNAME: xxxx # GIT_USERNAME: xxxx
jobs: jobs:
check-sql-snapshots:
runs-on: ubuntu-latest
container:
image: citus/extbuilder:latest
steps:
- uses: actions/checkout@v3.5.0
- uses: "./.github/actions/configure"
- name: Check Snapshots
run: ci/check_sql_snapshots.sh
check-style: check-style:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: citus/stylechecker:${{ inputs.style_checker_tools_version }}${{ inputs.image_suffix }} image: citus/stylechecker:${{ inputs.style_checker_tools_version }}${{ inputs.image_suffix }}
steps: steps:
- uses: actions/checkout@v3.5.0 - uses: actions/checkout@v3.5.0
- uses: "./.github/actions/configure"
- name: Check C Style - name: Check C Style
run: citus_indent --check run: citus_indent --check
- name: Check Python style - name: Check Python style
@ -70,7 +80,7 @@ jobs:
run: ci/check_migration_files.sh run: ci/check_migration_files.sh
build: build:
name: Build for PG ${{ matrix.pg_version}} name: Build for PG ${{ matrix.pg_version}}
needs: check-style needs: [check-style, check-sql-snapshots]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -184,14 +194,7 @@ jobs:
# - check-query-generator # - check-query-generator
check-sql-snapshots:
runs-on: ubuntu-latest
container:
image: citus/extbuilder:latest
steps:
- uses: actions/checkout@v3.5.0
- name: Check Snapshots
run: ci/check_sql_snapshots.sh
# tap-test-citus: # tap-test-citus: