ci: Require tests to pass only on Linux
FreeBSD CI is unstable and we lack people who have relevant knowledge about FreeBSD to debug and address the issue.
(cherry picked from commit 354d4f78)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org