chore: Migrate project artefact resource from SDKv2 to plugin framework #487
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
on: | |
pull_request_target: | |
branches: | |
- main | |
merge_group: | |
branches: | |
- main | |
schedule: | |
# every sunday at 2:45 AM so we catch up issues that might not have been raised yet | |
- cron: '45 2 * * 0' | |
name: dbt Cloud Integration Tests | |
jobs: | |
unit: | |
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
- check-docs | |
- test | |
- test-acceptance | |
steps: | |
- name: pull_request actions/checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.17.0' | |
- name: Install dependencies | |
run: make setup | |
# we install Terraform beforehand, otherwise each test requires downloading it | |
- uses: hashicorp/setup-terraform@v3 | |
- name: make ${{ matrix.target }} | |
run: make ${{ matrix.target }} | |
env: | |
DBT_CLOUD_ACCOUNT_ID: ${{ secrets.TEST_DBT_CLOUD_ACCOUNT_ID }} | |
DBT_CLOUD_TOKEN: ${{ secrets.TEST_DBT_CLOUD_TOKEN }} | |
DBT_CLOUD_HOST_URL: ${{ secrets.TEST_DBT_CLOUD_HOST_URL }} | |
DBT_ACCEPTANCE_TEST_LINEAGE_INTEGRATION: ${{ secrets.DBT_ACCEPTANCE_TEST_LINEAGE_INTEGRATION }} |