https://www.boundaryml.com logo
hey, do we know if `BAML` unit tests can
# questions
a
hey, do we know if
BAML
unit tests can read (env) variables from pyproject.toml file like one can do for pytest (using
[tool.pytest.ini_options]
section)?
v
not sure! if you run it, it should be pretty fast to know 🙂
a
it doesn't at present. We are having to add those variables in .gitlab-ci.yaml file
v
yea i think we just assume env vars are present in shell
a
okay, thanks!
v
you can do this however:
Copy code
baml-cli test --dotenv --dotenv-path path/to/.env [additional args]
a
okay, we will keep that as an option
it looks cleaner