YangCatalog / backend

YANG Catalog's REST API and internal module processing pipeline
https://yangcatalog.org
Apache License 2.0
2 stars 11 forks source link

test: add tests for celery app #787

Closed richardzilincikPantheon closed 1 year ago

richardzilincikPantheon commented 1 year ago

When running these locally, it's necessary to run celery -A tests.test_celery_app:celery_app worker -l INFO & first. Not sure where an appropriate place to note this would be or if it should somehow be set up automatically.

richardzilincikPantheon commented 1 year ago

The reason tests are failing here is because they're running according to the workflow file from the master branch, the tests pass with the new workflow file https://github.com/richardzilincikPantheon/backend/actions/runs/5333166355

SlavomirMazurPantheon commented 1 year ago

@dmytro-kyrychenko I am going to merge this PR and we will see if it will run correctly in the master branch.

dmytro-kyrychenko commented 1 year ago

785