mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-07 09:04:35 +01:00
Test updates (#1455)
* breaking out tests for easier usage * refactoring codebase * Added verification for properly formatted slug and fixed definitions that were incorrect * Adding new test case to ensure the file name matches either the slug or the part_number * fixed file names to match proper formatting * Adding test for annotating failures
This commit is contained in:
parent
c95b166139
commit
de70c1edde
3
.github/workflows/validation.yml
vendored
3
.github/workflows/validation.yml
vendored
@ -25,5 +25,8 @@ jobs:
|
||||
- name: Format YAML files (yamlfmt)
|
||||
run: |
|
||||
pre-commit run --config .pre-commit-yamlfmt-config.yaml --all-files
|
||||
- name: Install plugin
|
||||
run: pip install pytest-github-actions-annotate-failures
|
||||
- name: Run tests
|
||||
id: pytest
|
||||
run: pytest --tb=short -v
|
||||
|
Loading…
Reference in New Issue
Block a user