-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73238ff
commit 86aeef1
Showing
2 changed files
with
91 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,58 @@ | ||
build-artifacts: | ||
poetry run python ./scripts/generate_artifacts.py | ||
|
||
build-pex: | ||
poetry run pex . \ | ||
--interpreter-constraint ">=3.8.1,<3.13" \ | ||
--jobs 128 \ | ||
--max-install-jobs 0 \ | ||
--output-file ./dist/dbt-bouncer.pex \ | ||
--pip-version 23.2 \ | ||
--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 \ | ||
--python-shebang='/usr/bin/env python' \ | ||
--script dbt-bouncer | ||
|
||
test: | ||
$(MAKE) test-unit | ||
$(MAKE) test-integration | ||
|
||
test-integration: | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--numprocesses 5 \ | ||
./tests/integration \ | ||
$(MAKE_ARGS) | ||
|
||
test-unit: | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--numprocesses 5 \ | ||
./tests/unit \ | ||
-m 'not not_in_parallel' && \ | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--cov-append \ | ||
-m not_in_parallel | ||
build-artifacts: | ||
poetry run python ./scripts/generate_artifacts.py | ||
|
||
build-pex: | ||
poetry run pex . \ | ||
--interpreter-constraint ">=3.8.1,<3.13" \ | ||
--jobs 128 \ | ||
--max-install-jobs 0 \ | ||
--output-file ./dist/dbt-bouncer.pex \ | ||
--pip-version 23.2 \ | ||
--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 \ | ||
--python-shebang='/usr/bin/env python' \ | ||
--script dbt-bouncer | ||
|
||
test: | ||
$(MAKE) test-unit | ||
$(MAKE) test-integration | ||
|
||
test-integration: | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--numprocesses 5 \ | ||
./tests/integration \ | ||
$(MAKE_ARGS) | ||
|
||
test-unit: | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--numprocesses 5 \ | ||
./tests/unit \ | ||
-m 'not not_in_parallel' && \ | ||
poetry run pytest \ | ||
-c ./tests \ | ||
--junitxml=coverage.xml \ | ||
--cov-report=term-missing:skip-covered \ | ||
--cov=src/dbt_bouncer/ \ | ||
--cov-append \ | ||
-m not_in_parallel | ||
|
||
test-windows: | ||
poetry run pytest -c ./tests --numprocesses 5 ./tests/unit -m 'not not_in_parallel' && \ | ||
poetry run pytest -c ./tests -m not_in_parallel && \ | ||
poetry run pytest -c ./tests --numprocesses 5 ./tests/integration |