1 parent 18074a8 commit b4e4ec3Copy full SHA for b4e4ec3
1 file changed
.github/workflows/pr.yaml
@@ -558,7 +558,8 @@ jobs:
558
run: |
559
source ../../.venv/bin/activate
560
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
+ if [[ "${{ matrix.dbt-version }}" == "1.3" ]] || \
562
+ [[ "${{ matrix.dbt-version }}" == "1.4" ]]; then
563
echo "DBT version is ${{ matrix.dbt-version }} (< 1.5.0), removing version parameters..."
564
sed -i -e 's/, version=1) }}/) }}/g' -e 's/, v=1) }}/) }}/g' models/top_waiters.sql
565
else
0 commit comments