Skip to content

Commit

Permalink
refactored tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Jan 2, 2024
1 parent e376345 commit b8095f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dbt_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
run: dbt seed --target duckdb

- name: Create seed tests
run: dbt compile -q --inline "{{ testgen.get_test_suggestions(ref('users'), resource_type='seeds') }}" > seeds/users_test_suggestions.yml

- name: Create seed tests
run: "dbt compile -q --inline \"{{ testgen.get_test_suggestions(ref('colnames_with_spaces'), resource_type='seeds', column_config={'quote': true}) }}\" > seeds/colnames_with_spaces_test_suggestions.yml"
run: bash tests/create_seeds_tests_yml.sh

- name: dbt test
run: dbt test --target duckdb
Expand Down Expand Up @@ -72,5 +69,8 @@ jobs:
- name: load test data
run: dbt seed --target postgres

- name: Create seed tests
run: bash tests/create_seeds_tests_yml.sh

- name: dbt test
run: dbt test --target postgres

0 comments on commit b8095f2

Please sign in to comment.