sclorg / testing-farm-as-github-action

GitHub Action to execute tests by Testing Farm and update Pull Request status
MIT License
13 stars 11 forks source link

tmt_plan_filter is being ignored #230

Closed WOnder93 closed 2 months ago

WOnder93 commented 2 months ago

Type of issue

Bug Report

Description

Example: https://github.com/WOnder93/selinux-testsuite/actions/runs/10721083736/job/29728763570

I'm passing tmt_plan_filter: tag:ci, yet both plans are executed instead of only the matching one and in the pipeline logs there is only "plan_filter":null with no sign of the filter being passed to the actual TF request.

Reproducer

No response

jamacku commented 2 months ago

I'm pretty sure that you are missing ' in your workflow. Could you please try tmt_plan_filter: 'tag:ci'?

WOnder93 commented 2 months ago

Nope, that didn't help: https://github.com/WOnder93/selinux-testsuite/actions/runs/10722112585/job/29732267688

jamacku commented 2 months ago

Thanks for trying. I'll have a look.

jamacku commented 2 months ago

@WOnder93 I have submitted PR with the fix. You can try it by using jamacku/testing-farm-as-github-action@filter instead of sclorg/testing-farm-as-github-action@v3.1.1.

WOnder93 commented 1 month ago

I tested with current sclorg/testing-farm-as-github-action@main, and it works, thanks!

jamacku commented 1 month ago

@WOnder93 Thank you for testing :+1: