You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/docker-compose.yml

19 lines
331 B
YAML

# Docker Compose file to run the test suite and linter
---
version: "3"
services:
test:
build: .
working_dir: /app
volumes:
- ./:/app
command: python setup.py test
lint:
build: .
working_dir: /app
volumes:
- ./:/app
command: sh -c "flake8 . ; yamllint --strict . ; doc8 -e .rst ."