Skip to content

Commit 64d092d

Browse files
authored
Running integration tests in CI (#504)
## Summary This PR enables running integration tests in our CI pipeline. This should help us make changes with greater confidence. ## Checklist - [x] I have performed a self-review of my code - [x] I have made corresponding changes to the documentation (in https://github.com/dbt-labs/docs.getdbt.com) if required -- Mention it here - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes
1 parent 09893cc commit 64d092d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Under the Hood
2+
body: Running integration tests in CI
3+
time: 2026-01-07T15:53:18.336434-06:00

.github/workflows/run-checks-pr.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,33 @@ jobs:
5151
- name: Run tests
5252
run: task test:unit
5353

54+
# runs the integration tests
55+
integration-test:
56+
name: Integration test
57+
runs-on: ubuntu-24.04
58+
permissions:
59+
contents: read
60+
needs:
61+
- check
62+
steps:
63+
- name: checkout code
64+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
65+
- name: setup python
66+
uses: ./.github/actions/setup-python
67+
id: setup-python
68+
- name: Install go-task
69+
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
70+
- name: Run tests
71+
env:
72+
DBT_HOST: ${{ vars.DBT_HOST }}
73+
MULTICELL_ACCOUNT_PREFIX: ${{ vars.MULTICELL_ACCOUNT_PREFIX }}
74+
DBT_TOKEN: ${{ secrets.DBT_TOKEN }}
75+
DBT_ACCOUNT_ID: ${{ vars.DBT_ACCOUNT_ID }}
76+
DBT_PROD_ENV_ID: ${{ vars.DBT_PROD_ENV_ID }}
77+
DBT_DEV_ENV_ID: ${{ vars.DBT_DEV_ENV_ID }}
78+
DBT_USER_ID: ${{ vars.DBT_USER_ID }}
79+
run: task test:integration
80+
5481
# validates documentation is up to date
5582
validate-docs:
5683
name: Validate tool docs

0 commit comments

Comments
 (0)