-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.12 KB
/
integration_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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