From ca6a0355d2205de27f1ebea32ba2554ad9dcee8b Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 5 Sep 2022 13:07:28 +0100 Subject: [PATCH] tests: Run `pytest` as part of GitHub PR checks --- .github/workflows/pr-checks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 55ee97ff..918f703d 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -91,3 +91,11 @@ jobs: # explicitly ignore docstring errors (start with D) git diff "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | flake8 . --count --statistics --diff --extend-ignore D #################################################################### + + #################################################################### + # Ensure all tests pass + #################################################################### + - name: PyTest tests + run: | + pytest + ####################################################################