Skip to content

Commit

Permalink
Add YAML syntax check.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrieger committed Sep 27, 2023
1 parent a521d1a commit 0847763
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test_peers.yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install ipaddr requests pyyaml
pip install --user yamllint
- name: Test peers.yaml
- name: Test peers.yaml (YAML syntax)
# Allow for longer line lengths
run: |
yamllint -d "{ extends: default, rules: { line-length: { max: 120 } } }" peers.yaml
- name: Test peers.yaml validity
run: python ./tests/test_peering_relations.py

0 comments on commit 0847763

Please sign in to comment.