Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to programmatically set --docker-compose option #69

Open
jernejg opened this issue Nov 7, 2020 · 0 comments
Open

How to programmatically set --docker-compose option #69

jernejg opened this issue Nov 7, 2020 · 0 comments

Comments

@jernejg
Copy link

jernejg commented Nov 7, 2020

Hi,

I'm trying to set the Docker compose file location at runtime, but without success.

If I understand correctly this could be done using a pytest hook, but the plugin somehow doesn't pick it up.

Example using pytest_configure hook:

def pytest_configure(config):
    config.inicfg["addopts"] = "--docker-compose=./some_path"

Any help appreciated,
Jernej

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant