From c5e9448204bcfa499a1c77f8553742d6741c88bf Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:26:12 -0400 Subject: [PATCH] swap the order of the sdist and wheel checks (#1065) (#1068) --- .github/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 351966ead..53b1bce4f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -188,15 +188,18 @@ jobs: - name: Show distributions run: ls -lh dist/ - - name: Install wheel distributions + - name: Install source distributions run: | - find ./dist/*.whl -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/ - - name: Check wheel distributions + 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: Install source distributions + + - name: Install wheel distributions run: | - find ./dist/*.gz -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/ - - name: Check source distributions + find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/ + + - name: Check wheel distributions run: | dbt --version