Skip to content

bug: CI fails to detect when tests are skipped due to an error #278

@metacoma

Description

@metacoma

example workflow: https://github.com/mindwm/mindwm-gitops/actions/runs/15171782463

ImportError while loading conftest '/home/ci/mindwm-gitops/tests/mindwm_bdd/conftest.py'.
/usr/lib/python3.12/ast.py:52: in parse
    return compile(source, filename, mode, flags,
E     File "/home/ci/mindwm-gitops/tests/mindwm_bdd/conftest.py", line 351
E       for pod_name in ["mindwm-function-build-run-buildpack-pod", "mindwm-function-build-run-copy-pod""]:
E                                                                                                       ^
E   SyntaxError: unterminated string literal (detected at line 351)
failed to load external entity "/tmp/artifacts/report.xml"
./
./report.md
./exit_code
./failed_test_title
===============================================
✅ Successfully executed commands to all hosts.
===============================================

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions