From 15f4debb0e153f4d190503763d0fdc65fc12598c Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:37:38 -0700 Subject: [PATCH 1/6] Standardize on "Adapter Integration Tests" GitHub workflow --- .github/workflows/{integration-tests.yml => integration.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{integration-tests.yml => integration.yml} (100%) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration.yml similarity index 100% rename from .github/workflows/integration-tests.yml rename to .github/workflows/integration.yml From dbfc547611517c89006cce80878e51b25c80526b Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:38:04 -0700 Subject: [PATCH 2/6] Changelog entry --- .changes/unreleased/Features-20241211-093647.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Features-20241211-093647.yaml diff --git a/.changes/unreleased/Features-20241211-093647.yaml b/.changes/unreleased/Features-20241211-093647.yaml new file mode 100644 index 00000000..f7d7ad1f --- /dev/null +++ b/.changes/unreleased/Features-20241211-093647.yaml @@ -0,0 +1,6 @@ +kind: Features +body: Standardize on "Adapter Integration Tests" GitHub workflow +time: 2024-12-11T09:36:47.568012-07:00 +custom: + Author: dbeatty10 + Issue: "181" From d659f9b295fede400208536e08ace1a3103f9a24 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:39:26 -0700 Subject: [PATCH 3/6] Rename workflow --- .github/workflows/integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 304c139c..3d1769a1 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,4 +1,4 @@ -name: Integration Tests +name: Adapter Integration Tests run-name: "${{ (contains(github.event_name, 'workflow_') && inputs.name) || github.event_name }}: ${{ (contains(github.event_name, 'workflow_') && inputs.adapter_branch) || github.ref_name }} by @${{ github.actor }}" From 4093746f04d658a562ba69fe47e90d81de787b70 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:40:16 -0700 Subject: [PATCH 4/6] Use standard workflow comment header --- .github/workflows/integration.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3d1769a1..06db61da 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,5 +1,24 @@ -name: Adapter Integration Tests +# **what?** +# This workflow runs all integration tests for supported OS +# and python versions and core adapters. If triggered by PR, +# the workflow will only run tests for adapters related +# to code changes. Use the `test all` and `test ${adapter}` +# label to run all or additional tests. Use `ok to test` +# label to mark PRs from forked repositories that are safe +# to run integration tests for. Requires secrets to run +# against different warehouses. + +# **why?** +# This checks the functionality of dbt from a user's perspective +# and attempts to catch functional regressions. + +# **when?** +# This workflow will run on every push to a protected branch +# and when manually triggered. It will also run for all PRs, including +# PRs from forks. The workflow will be skipped until there is a label +# to mark the PR as safe to run. +name: Adapter Integration Tests run-name: "${{ (contains(github.event_name, 'workflow_') && inputs.name) || github.event_name }}: ${{ (contains(github.event_name, 'workflow_') && inputs.adapter_branch) || github.ref_name }} by @${{ github.actor }}" on: From ff28671fbe89815a05bb16a558af1e9a42042783 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:55:47 -0700 Subject: [PATCH 5/6] Update changelog entry --- ...20241211-093647.yaml => Under the Hood-20241211-093647.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .changes/unreleased/{Features-20241211-093647.yaml => Under the Hood-20241211-093647.yaml} (87%) diff --git a/.changes/unreleased/Features-20241211-093647.yaml b/.changes/unreleased/Under the Hood-20241211-093647.yaml similarity index 87% rename from .changes/unreleased/Features-20241211-093647.yaml rename to .changes/unreleased/Under the Hood-20241211-093647.yaml index f7d7ad1f..573e4a4e 100644 --- a/.changes/unreleased/Features-20241211-093647.yaml +++ b/.changes/unreleased/Under the Hood-20241211-093647.yaml @@ -1,4 +1,4 @@ -kind: Features +kind: Under the Hood body: Standardize on "Adapter Integration Tests" GitHub workflow time: 2024-12-11T09:36:47.568012-07:00 custom: From 9bad5ae6b2c82da2b6bd5693e7552ccf9870f72e Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Wed, 11 Dec 2024 09:56:42 -0700 Subject: [PATCH 6/6] Restore newline --- .github/workflows/integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 06db61da..37cadc74 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -19,6 +19,7 @@ # to mark the PR as safe to run. name: Adapter Integration Tests + run-name: "${{ (contains(github.event_name, 'workflow_') && inputs.name) || github.event_name }}: ${{ (contains(github.event_name, 'workflow_') && inputs.adapter_branch) || github.ref_name }} by @${{ github.actor }}" on: