-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_multiple_primary_keys
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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' }} | ||
run: | | ||
make build_openssl_native build_grpc build_arrow build_test_dependencies | ||
- name: build the connector | ||
run: | | ||
make get_fivetran_protos get_duckdb | ||
make build_connector | ||
- name: run tests | ||
env: | ||
motherduck_token: ${{ secrets.CI_TESTING_TOKEN }} | ||
run: | | ||
./build/Release/integration_tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters