Skip to content

Commit 58a860c

Browse files
authored
Ele 4291 increase minimum dbt version in oss tests (#805)
* Increase old dbt version in tests to 1.7.0, since older versions reached end of life. * remove databricks from tests (keep databricks_catalog) * Use pull_request_target for remind-docs-and-tests * remove unnecessary exclusions
1 parent f22a238 commit 58a860c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/remind-docs-and-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Remind docs and tests
22
on:
3-
pull_request:
3+
pull_request_target:
44
branches: ["master"]
55
jobs:
66
run:

.github/workflows/test-all-warehouses.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,24 @@ jobs:
3737
matrix:
3838
dbt-version:
3939
${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) ||
40-
! contains(github.event_name, 'pull_request') && fromJSON('["1.3.0", "latest_official"]') ||
40+
! contains(github.event_name, 'pull_request') && fromJSON('["1.7.0", "latest_official"]') ||
4141
fromJSON('["latest_official"]') }}
4242
warehouse-type:
4343
[
4444
postgres,
4545
snowflake,
4646
bigquery,
4747
redshift,
48-
databricks,
4948
databricks_catalog,
5049
athena,
5150
trino,
5251
]
5352
include:
54-
# If we're not running on a specific dbt version, then always add postgres on 1.3.0
55-
- dbt-version: "${{ inputs.dbt-version || '1.3.0' }}"
53+
# If we're not running on a specific dbt version, then always add postgres on 1.7.0
54+
- dbt-version: "${{ inputs.dbt-version || '1.7.0' }}"
5655
warehouse-type: postgres
5756
- dbt-version: "${{ inputs.dbt-version || 'latest_pre' }}"
5857
warehouse-type: postgres
59-
exclude:
60-
- dbt-version: "1.3.0"
61-
warehouse-type: athena
62-
- dbt-version: "1.3.0"
63-
warehouse-type: trino
6458
uses: ./.github/workflows/test-warehouse.yml
6559
with:
6660
warehouse-type: ${{ matrix.warehouse-type }}

0 commit comments

Comments
 (0)