Skip to content

Commit

Permalink
remove -OO test for python 3.10.1
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Peveler <[email protected]>
  • Loading branch information
MasterOdin committed May 23, 2022
1 parent 270a700 commit f84c769
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/github-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
name: pytest on ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.6", "3.7", "3.10.1", "3.8", "3.9", "3.10"]

Expand Down Expand Up @@ -53,15 +54,11 @@ jobs:
- name: Test with pytest
run: |
python -m coverage run --parallel-mode -m pytest Tests -vv
if: matrix.python-version != '3.10.1' && matrix.python-version != 2.7
if: matrix.python-version != 2.7
- name: Test with pytest (2.7)
run: |
python -m coverage run --parallel-mode -m pytest Tests -vv -m "not no_py27"
if: matrix.python-version == 2.7
- 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: Upload coverage data
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f84c769

Please sign in to comment.