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 5458c3c commit c7f9818
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,19 @@ jobs:
- name: Show distributions
run: ls -lh dist/

- name: Install wheel distributions
- name: Install source distributions
# ignore dbt-1.0.0, which intentionally raises an error when installed from source
run: |
find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
find ./dist/dbt[-_][a-z]*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
- name: Check wheel distributions
- name: Check source distributions
run: |
dbt --version
- name: Install source distributions
# ignore dbt-1.0.0, which intentionally raises an error when installed from source
- name: Install wheel distributions
run: |
find ./dist/dbt[-_][a-z]*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
- name: Check source distributions
- name: Check wheel distributions
run: |
dbt --version

0 comments on commit c7f9818

Please sign in to comment.