Skip to content

Commit

Permalink
install & check source distributions before wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Jul 18, 2024
1 parent bc513de commit 2b51fd0
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 2b51fd0

Please sign in to comment.