Skip to content

test: add Hermes workflow integration tests refs #958#969

Open
ilayfalach wants to merge 2 commits into
masterfrom
issue958
Open

test: add Hermes workflow integration tests refs #958#969
ilayfalach wants to merge 2 commits into
masterfrom
issue958

Conversation

@ilayfalach

Copy link
Copy Markdown
Collaborator

Summary

  • Added hera/tests/test_hermes_workflow.py with 4 @pytest.mark.integration tests covering single-node, linear chain, branching, and error-propagation Hermes workflows
  • Tests run Luigi workflows via python -m luigi --local-scheduler, skipped automatically when Hermes is not installed

Test plan

  • With Hermes on PYTHONPATH: pytest hera/tests/test_hermes_workflow.py -v — 4 passed
  • Without Hermes: all 4 tests skip cleanly

Closes #958

🤖 Generated with Claude Code

Ilay Falach and others added 2 commits June 30, 2026 11:29
Adds TestSimpleHermesWorkflow with 4 tests verifying a single-node
RunPythonCode workflow builds and runs to completion via the local Luigi
scheduler (no dispatch_id required). Tests are auto-skipped when hermes
or luigi are not importable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mark TestSimpleHermesWorkflow with @pytest.mark.integration — it runs
actual Luigi workflows in subprocesses and requires hermes + luigi.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ilayfalach ilayfalach mentioned this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hermes tests

1 participant