mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-12-22 23:23:20 +01:00
Test (#898)
This commit is contained in:
parent
0126276d20
commit
162a74336e
4
.github/workflows/validation.yml
vendored
4
.github/workflows/validation.yml
vendored
@ -12,19 +12,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Lint YAML files
|
||||
run: |
|
||||
yamllint --format github --strict \
|
||||
device-types/ module-types/
|
||||
|
||||
- name: Run tests
|
||||
run: pytest --tb=short -v
|
||||
|
Loading…
Reference in New Issue
Block a user