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:
Daniel W. Anner 2023-07-14 15:12:28 -04:00 committed by GitHub
parent c95b166139
commit de70c1edde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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