From 14b4d0a62acf143bbfc76a4a101bb70cb8088eaf Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Thu, 26 May 2022 11:07:54 +0200 Subject: [PATCH] TST: Remove -OO testrun from CI We needed it because we were manipulating a docstring programmatically. As long as we don't rely on assert / docstrings being present, we don't need to test with -OO. --- .github/workflows/github-ci.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/github-ci.yaml b/.github/workflows/github-ci.yaml index e2d061a66..297be300d 100644 --- a/.github/workflows/github-ci.yaml +++ b/.github/workflows/github-ci.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.6", "3.7", "3.10.1", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - name: Checkout Code @@ -47,11 +47,6 @@ jobs: - name: Test with pytest run: | python -m coverage run --parallel-mode -m pytest tests -vv - if: matrix.python-version != '3.10.1' - - name: Test with pytest (OO flag) - run: | - python -OO -m coverage run --parallel-mode -m pytest tests -vv - if: matrix.python-version == '3.10.1' - name: Test with mypy run : | mypy PyPDF2 --show-error-codes --disallow-untyped-defs --disallow-incomplete-defs