Files
netbox-repo/.github/workflows/validation.yml
2022-02-18 14:47:13 -05:00

26 lines
534 B
YAML

---
name: Validate definitions
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- 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: pytest --tb=short -v