From de70c1edde8c9f43b56da1e675f42fed310939ab Mon Sep 17 00:00:00 2001
From: "Daniel W. Anner" <daniel.anner@danstechsupport.com>
Date: Fri, 14 Jul 2023 15:12:28 -0400
Subject: [PATCH] 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
---
 .github/workflows/validation.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml
index a91fd304..e17ba200 100644
--- a/.github/workflows/validation.yml
+++ b/.github/workflows/validation.yml
@@ -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
-- 
GitLab