diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 24351df..e9d41c0 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -40,3 +40,13 @@ jobs: PYTHONPATH: src run: | pytest -v tests/test_codemapper.py || (cat ./_codemaps/codemapper_codemap.md && exit 1) + + - name: Debugging + if: failure() + run: | + echo "Listing files in the current directory:" + ls -la + echo "Listing files in the _codemaps directory:" + ls -la _codemaps + echo "Displaying the contents of the generated markdown file:" + cat ./_codemaps/codemapper_codemap.md || echo "Markdown file not found"