Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tanzeel Khan <[email protected]>
  • Loading branch information
tanscorpio7 committed Dec 4, 2023
1 parent 57e7123 commit ad74127
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .github/composite-actions/run-jdbc-tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Run JDBC Tests'

inputs:

runs:
using: "composite"
steps:
- name: Run JDBC Tests
run: |
export PATH=~/${{env.INSTALL_DIR}}/bin:$PATH
export PG_SRC=~/work/babelfish_extensions/postgresql_modified_for_babelfish
cd test/JDBC/
mvn test
shell: bash
9 changes: 3 additions & 6 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
uses: ./.github/composite-actions/build-modified-postgres
with:
engine_branch: ${{ matrix.branch.engine_branch }}
install_dir: psql

- name: Compile ANTLR
id: compile-antlr
Expand All @@ -84,7 +85,7 @@ jobs:

- name: Build tds_fdw Extension
id: build-tds_fdw-extension
if: ${{ startsWith(matrix.branch.extension, 'BABEL_3_') && (steps.build-extensions.outcome == 'success') }}
if: ${{ startsWith(matrix.branch.extension_branch, 'BABEL_3_') && (steps.build-extensions.outcome == 'success') }}
uses: ./.github/composite-actions/build-tds_fdw-extension

- name: Build PostGIS Extension
Expand All @@ -103,11 +104,7 @@ jobs:
id: jdbc
if: always() && steps.install-extensions.outcome == 'success'
timeout-minutes: 60
run: |
export PATH=~/${{env.INSTALL_DIR}}/bin:$PATH
export PG_SRC=~/work/babelfish_extensions/postgresql_modified_for_babelfish
cd test/JDBC/
mvn test
uses: ./.github/composite-actions/run-jdbc-tests

- name: Install MSSQL Tools
id: install-mssql-tools
Expand Down

0 comments on commit ad74127

Please sign in to comment.