Skip to content

Commit b4e4ec3

Browse files
committed
fix(ci): now runs 1.5 dbt tests
Signed-off-by: Cortland Goffena <30168413+cmgoffena13@users.noreply.github.com>
1 parent 18074a8 commit b4e4ec3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ jobs:
558558
run: |
559559
source ../../.venv/bin/activate
560560
sed -i 's/target: in_memory/target: postgres/g' profiles.yml
561-
if [[ $(echo -e "${{ matrix.dbt-version }}\n1.5.0" | sort -V | head -n1) == "${{ matrix.dbt-version }}" ]] && [[ "${{ matrix.dbt-version }}" != "1.5.0" ]]; then
561+
if [[ "${{ matrix.dbt-version }}" == "1.3" ]] || \
562+
[[ "${{ matrix.dbt-version }}" == "1.4" ]]; then
562563
echo "DBT version is ${{ matrix.dbt-version }} (< 1.5.0), removing version parameters..."
563564
sed -i -e 's/, version=1) }}/) }}/g' -e 's/, v=1) }}/) }}/g' models/top_waiters.sql
564565
else

0 commit comments

Comments
 (0)