Test dependencies ignored when include_recipe is false
moqmar opened this issue · 0 comments
moqmar commented
When setting include_recipe: false
, boa won't install the test dependencies before running the test scripts.
I have crafted the following minimal recipe to reproduce the bug:
package:
name: test
version: 1.0.0
build:
include_recipe: false
script: []
test:
requires:
- pyserial
commands:
- python -c "import pyserial"
As a workaround, I modified run_build.py
from line 395 like this, but I am not sure if that has other implications e.g. with multi-output packages:
if not notest:
o.config.need_cleanup = False
run_test(
MetaData(final_out, o),
o.config,