Skip to content

Commit

Permalink
Merge pull request #35 from godatadriven/multi-platform-support
Browse files Browse the repository at this point in the history
Adding whl's for Mac to .pex
  • Loading branch information
pgoslatara authored Jul 18, 2024
2 parents d43353c + 8dbd973 commit db0db71
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
docker run --rm \
--volume "$PWD/dbt_project/target":/dbt_project/target \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:ci \
dbt-bouncer --dbt-artifacts-dir dbt_project/target
/dbt-bouncer.pex --dbt-artifacts-dir dbt_project/target
github-action-tests:
needs: [pre-commit]
Expand Down
Binary file modified dist/dbt-bouncer.pex
Binary file not shown.
22 changes: 20 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
build-pex:
poetry run pex . -c dbt-bouncer -o ./dist/dbt-bouncer.pex --python-shebang='/usr/bin/env python'
poetry run pex . \
-c dbt-bouncer \
-o ./dist/dbt-bouncer.pex \
--python-shebang='/usr/bin/env python' \
--platform macosx_11_0_x86_64-cp-38-cp38 \
--platform macosx_11_0_x86_64-cp-39-cp39 \
--platform macosx_11_0_x86_64-cp-310-cp310 \
--platform macosx_11_0_x86_64-cp-311-cp311 \
--platform macosx_11_0_x86_64-cp-312-cp312 \
--platform manylinux2014_x86_64-cp-38-cp38 \
--platform manylinux2014_x86_64-cp-39-cp39 \
--platform manylinux2014_x86_64-cp-310-cp310 \
--platform manylinux2014_x86_64-cp-311-cp311 \
--platform manylinux2014_x86_64-cp-312-cp312

test:
poetry run pytest --junitxml=coverage.xml --cov-report=term-missing:skip-covered --cov=dbt_bouncer/ ./tests --numprocesses 5
poetry run pytest \
--junitxml=coverage.xml \
--cov-report=term-missing:skip-covered \
--cov=dbt_bouncer/ \
--numprocesses 5 \
./tests

0 comments on commit db0db71

Please sign in to comment.