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

Default Docker usage ignores config #178

Open
tillepille opened this issue Oct 15, 2021 · 0 comments
Open

Default Docker usage ignores config #178

tillepille opened this issue Oct 15, 2021 · 0 comments
Labels

Comments

@tillepille
Copy link
Contributor

Describe the bug

When running the default command from the readme, the configfile is ignored

To Reproduce

Example layout

.
├── .htmltest.yml
├── README.md
├── node_modules
│   ├── .bin
│   ├── .yarn-integrity
│   ├── @babel
│   ├── accepts
├── public
│   ├── index.html
│   └── style.css
  1. start test with docker run -v $(pwd):/test --rm wjdp/htmltest

Then the config is ignored and all folders e.g node_modules is scanned.

.htmltest.yml

DirectoryPath: public

Source files

Please include any relevant lines from the directory you were using htmltest on. Ideally you would be able to find a single line that if included causes this bug.

Expected behaviour

I expect the config is read, even when a path is specified via argument

Actual behaviour

config is ignored, caused by the path specification in the Dockerfile

Versions

  • OS: [alpine 3.9 (from dockerfile)]
  • htmltest: [e.g. 0.10.1, run htmltest -v] 0.15.9

Additional context

One mitigation would be to remove that mentioned line from the dockerfile, but maybe this would also help for "normal" usage, that the app looks for a configfile in the current working directory.

@tillepille tillepille added the bug label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant