Skip to content

Commit

Permalink
install & check source distributions before wheels (#10466)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk authored Jul 18, 2024
1 parent bc513de commit a7ef54b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a7ef54b

Please sign in to comment.