ansible-community / collection_bot

Fork of Ansibullbot for collections
GNU General Public License v3.0
5 stars 10 forks source link

Fix units label handling #12

Closed Andersson007 closed 3 years ago

Andersson007 commented 3 years ago
SUMMARY

I noticed that the bot doesn't put units label when a PR contains unit tests, e.g. in https://github.com/ansible-collections/community.general/pull/1099/files) This is because of the path difference in ansible/ansible (test/units) and collections (test/unit).

I'm not sure it'll work as expected. Didn't find any other places where the path is determined. Could anyone give me a hint if there is any guide how to run unit tests for the bot locally?

ISSUE TYPE
COMPONENT NAME

scripts/labels.yml

Andersson007 commented 3 years ago

cc @gundalow