From 0395264c57280a931715b04b314745dc75f2e4d2 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 18 Jul 2024 14:12:01 -0400 Subject: [PATCH] swap source dist install + check and wheel install + check in build packages step in main.yml (#10463) --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 666009a1e5b..5f94dfcdf9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -229,6 +229,15 @@ jobs: run: | twine check dist/* + - name: Install source distributions + # ignore dbt-1.0.0, which intentionally raises an error when installed from source + run: | + find ./dist/*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ + + - name: Check source distributions + run: | + dbt --version + - name: Check wheel contents run: | check-wheel-contents dist/*.whl --ignore W007,W008 @@ -240,12 +249,3 @@ jobs: - name: Check wheel distributions run: | dbt --version - - - name: Install source distributions - # ignore dbt-1.0.0, which intentionally raises an error when installed from source - run: | - find ./dist/*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ - - - name: Check source distributions - run: | - dbt --version