try to run first time #8
Workflow file for this run
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
name: Run Integration Tests for Dbt Models | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.12 | ||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2 | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: Install the project dependencies | ||
run: poetry install | ||
- name: Copy profiles | ||
run: cp .github/ci/sample.profiles.yml ~/.dbt/profiles.yml | ||
- name: Get what connector we are testing | ||
id: get_connector | ||
run: echo "::set-output name=connector::source_zendesk_support" | ||
- name: Run dbt tests | ||
working-directory: connectors/${{ steps.get_connector.outputs.connector }}/integration_test | ||
run: dbt run --target postgres --vars '{"target_database": "postgres", "zendesk_database": "postgres"}' | ||