diff --git a/.github/actions/setup-postgres-macos/action.yml b/.github/actions/setup-postgres-macos/action.yml index af9a9fe1657..c053a9118af 100644 --- a/.github/actions/setup-postgres-macos/action.yml +++ b/.github/actions/setup-postgres-macos/action.yml @@ -5,7 +5,7 @@ runs: steps: - shell: bash run: | - brew services start postgresql + brew services start postgresql@14 echo "Check PostgreSQL service is running" i=10 COMMAND='pg_isready' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 636442d5d76..0b5940508d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -201,19 +201,19 @@ jobs: - name: Show distributions run: ls -lh dist/ - - name: Install wheel distributions + - name: Install source distributions + # ignore dbt-1.0.0, which intentionally raises an error when installed from source run: | - find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ + find ./dist/dbt[-_][a-z]*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ - - name: Check wheel distributions + - name: Check source distributions run: | dbt --version - - name: Install source distributions - # ignore dbt-1.0.0, which intentionally raises an error when installed from source + - name: Install wheel distributions run: | - find ./dist/dbt[-_][a-z]*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ + find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ - - name: Check source distributions + - name: Check wheel distributions run: | dbt --version