Skip to content

[Maintenance]: Add the ability to unit test with celery executor #273

@tjeerddie

Description

@tjeerddie

Description

It would be great if we can test the application with celery as executor, so we can be sure it works corretly and can prevent issues like #271

Now when setting the EXECUTOR=celery in your .env, tests break with Celery has not been initialised yet error.

Tasks

  • Add new celery tests to test/celery_tests
  • Make use of pytest-celery to startup/configure a Celery worker
  • Testcases:
    • Starting a workflow
    • Resuming a workflow
  • Add a CI workflow in .github/workflows, using the same services as the other CI workflows (postgres/redis)

Metadata

Metadata

Labels

maintenanceKeeping the framework up to date

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions