From c7f98183f69ed1fcbbfe7854af6c14f3a9637a90 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 18 Jul 2024 15:03:24 -0400 Subject: [PATCH] install & check source distributions before wheels --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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