mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 17:53:41 +00:00
8ed7912759
For now this just builds the latest CPython, but it can be extended to include other versions. Skip with `[skip build]` in commit message.
15 lines
406 B
Makefile
15 lines
406 B
Makefile
.PHONY: test test-build
|
|
|
|
# Do not pass in user flags to build tests.
|
|
unexport PYTHON_CFLAGS
|
|
unexport PYTHON_CONFIGURE_OPTS
|
|
|
|
test: bats
|
|
PATH="./bats/bin:$$PATH" test/run
|
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
|
|
|
|
test-build: bats
|
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test/build
|
|
|
|
bats:
|
|
git clone --depth 1 https://github.com/bats-core/bats-core.git bats
|