Skip to content

chore: Migrate project artefact resource from SDKv2 to plugin framework #488

chore: Migrate project artefact resource from SDKv2 to plugin framework

chore: Migrate project artefact resource from SDKv2 to plugin framework #488

Workflow file for this run

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 }}