Skip to content

chore: Enable ASAN/LSAN/UBSAN checks for code quality #73

chore: Enable ASAN/LSAN/UBSAN checks for code quality

chore: Enable ASAN/LSAN/UBSAN checks for code quality #73

name: Integration Tests
on:
pull_request:
push:
branches: [main]
jobs:
build_and_test:
name: Build and test the connector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
id: cache-deps
with:
key: fivetran-deps-${{ hashFiles('./Makefile') }}
path: ./install
- name: build the dependencies
if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
env:
CC: clang-15
CXX: clang++-15
CPP: clang-cpp-15
run: |
make build_openssl_native build_grpc build_arrow build_test_dependencies
- name: build the connector
env:
CC: clang-15
CXX: clang++-15
CPP: clang-cpp-15
run: |
make get_fivetran_protos get_duckdb
make build_connector_debug
- name: run tests
env:
motherduck_token: ${{ secrets.CI_TESTING_TOKEN }}
run: |
ASAN_OPTIONS=alloc_dealloc_mismatch=0:fast_unwind_on_malloc=0 LSAN_OPTIONS=suppressions=lsan-suppressions.supp ./build/Debug/integration_tests