Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tdb-odbc-driver-mirror into birschick-bq/mirror-sync
  • Loading branch information
Bruce Irschick committed Jun 22, 2022
2 parents a4352ca + f7c6e4d commit 0638ae2
Show file tree
Hide file tree
Showing 14 changed files with 600 additions and 221 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
./src/odbc-test/scripts/import_test_data.sh
- name: run-tests
id: runtests
run: |
mkdir -p "${{env.DOC_DB_LOG_PATH}}"
ssh -f -N -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${{env.DOC_DB_PRIV_KEY_FILE}} -L${{env.DOC_DB_LOCAL_PORT}}:${{secrets.DOC_DB_HOST}}:${{env.DOC_DB_REMOTE_PORT}} ${{secrets.DOC_DB_USER}}
Expand All @@ -162,7 +163,7 @@ jobs:
comment_title: "Ubuntu 20.04 Build Unit Test Results"
files: ./odbc_test_result.xml
- name: upload-test-file
if: always()
if: always() && (steps.runtests.outcome == 'failure')
uses: actions/upload-artifact@v2
with:
name: odbc-test-results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
chmod +x ./src/odbc-test/scripts/import_test_data.sh
./src/odbc-test/scripts/import_test_data.sh
- name: run-tests
id: runtests
run: |
mkdir -p "${{env.DOC_DB_LOG_PATH}}"
ssh -f -N -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${{env.DOC_DB_PRIV_KEY_FILE}} -L${{env.DOC_DB_LOCAL_PORT}}:${{secrets.DOC_DB_HOST}}:${{env.DOC_DB_REMOTE_PORT}} ${{secrets.DOC_DB_USER}}
Expand All @@ -123,7 +124,7 @@ jobs:
comment_title: "MacOS Big Sur 11 Build Unit Test Results"
files: ./odbc_test_result.xml
- name: upload-test-file
if: always()
if: always() && (steps.runtests.outcome == 'failure')
uses: actions/upload-artifact@v2
with:
name: odbc-test-results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
./src/odbc-test/scripts/import_test_data.ps1
- name: run-tests
id: runtests
run: |
mkdir -p "${{env.DOC_DB_LOG_PATH}}"
Start-Process -NoNewWindow ssh "-f -N -o UserKnownHostsFile=/temp -o StrictHostKeyChecking=no -i ${{env.DOC_DB_PRIV_KEY_FILE}} -L${{env.DOC_DB_LOCAL_PORT}}:${{secrets.DOC_DB_HOST}}:${{env.DOC_DB_REMOTE_PORT}} ${{secrets.DOC_DB_USER}}"
Expand All @@ -148,7 +149,7 @@ jobs:
files: ./odbc_test_result.xml

- name: upload-test-file
if: always()
if: always() && (steps.runtests.outcome == 'failure')
uses: actions/upload-artifact@v2
with:
name: odbc-test-results
Expand Down
1 change: 1 addition & 0 deletions src/odbc-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ endif()

set(SOURCES
src/api_robustness_test.cpp
src/application_data_buffer_test.cpp
src/column_meta_test.cpp
src/configuration_test.cpp
src/connection_test.cpp
Expand Down
Loading

0 comments on commit 0638ae2

Please sign in to comment.