diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aeca00b985d..5564ba1863f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -226,6 +226,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 @@ -237,12 +246,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