Restrict YAML linter to definition directories
This commit is contained in:
4
.github/workflows/validation.yml
vendored
4
.github/workflows/validation.yml
vendored
@@ -20,6 +20,6 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Lint YAML files
|
||||
run: yamllint --format parsable --strict -c=tests/yamllint.yaml .
|
||||
- name: Run Device-Type Tests
|
||||
run: yamllint --format parsable --strict -c=tests/yamllint.yaml device-types/ module-types/
|
||||
- name: Run tests
|
||||
run: pytest --tb=short -v
|
||||
|
||||
Reference in New Issue
Block a user