It's recommended to use the mise for development.
dev1
is an example of a tag to test locally.
mise run build-lgtm dev1
will build the docker image locally.mise run lgtm dev1
will run the docker image locally.
- Markdown lint:
mise run lint-markdown
- Markdown link checker:
mise run lint-links
- Run all checks:
mise run lint-all
Acceptance test cases are defined in oats.yaml
files in the examples directory. The test cases are run by oats.
If a test case fails (lets say examples/nodejs
), follows these steps:
- Build a new image:
mise run build-lgtm dev1
oats -timeout 2h -lgtm-version dev1 examples/nodejs
(automatically installed bymise
)- go to http://localhost:3000
You can run all everything together using mise run test
.