From c2cb6073addaba078f112cf94703f72e1a759bea Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Mon, 20 Apr 2020 08:23:51 +0200 Subject: [PATCH] ci: pylint all the things Make sure we always pylint all python sources. We currently skip tests as well as osbuild/util. Fix this by always recursively looking for all python sources and then linting them. --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b621c12f..4ca693ff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,8 @@ jobs: - name: Run pylint run: | cd osbuild - pylint osbuild runners/* assemblers/* stages/* sources/* + find . -type f -name "*.py" | xargs pylint + pylint runners/* assemblers/* stages/* sources/* documentation: name: "📚 Documentation"