diff --git a/.github/workflows/pylint.yml b/.github/workflows/lint_and_test.yml similarity index 82% rename from .github/workflows/pylint.yml rename to .github/workflows/lint_and_test.yml index 0e3214f..5d54572 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/lint_and_test.yml @@ -1,11 +1,10 @@ -name: Pylint - +name: Python linting and testing on: push: pull_request: jobs: - build: + lint_and_test: runs-on: ubuntu-latest strategy: matrix: @@ -34,3 +33,8 @@ jobs: run: | source .venv/bin/activate pylint $(git ls-files '*.py') + + - name: Running the tests with pytest + run: | + source .venv/bin/activate + python -m pytest