From 2f0ca9e41dc4eea610ad3d90e2414cfebe29f756 Mon Sep 17 00:00:00 2001 From: Muayyad alsadi Date: Fri, 25 Feb 2022 21:50:52 +0300 Subject: [PATCH] add pytest ci --- .github/workflows/pylint.yml | 6 +++++- python-app.yml => .github/workflows/pytest.yml | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename python-app.yml => .github/workflows/pytest.yml (100%) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 4a52896..ed355de 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,6 +1,8 @@ name: Pylint -on: [push] +on: +- push +- pull_request jobs: build: @@ -22,4 +24,6 @@ jobs: - name: Analysing the code with pylint run: | # pylint $(git ls-files '*.py') + python -m compileall podman_compose.py pylint podman_compose.py + diff --git a/python-app.yml b/.github/workflows/pytest.yml similarity index 100% rename from python-app.yml rename to .github/workflows/pytest.yml