Skip to content

Commit ec9e3a0

Browse files
fix: only run drop_test_schemas for cloud targets (local adapters don't persist)
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 010f76e commit ec9e3a0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test-warehouse.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ jobs:
204204
path: ${{ env.TESTS_DIR }}/tests/detailed_report_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}.html
205205

206206
- name: Drop test schemas
207-
if: always()
207+
if: >-
208+
always() &&
209+
contains(fromJSON('["snowflake","bigquery","redshift","databricks_catalog","athena"]'), inputs.warehouse-type)
208210
working-directory: ${{ env.TESTS_DIR }}
209211
continue-on-error: true
210212
run: |

0 commit comments

Comments
 (0)