Skip to content
Permalink
Browse files

workflow: Remove coverage testing for Python 2.7 and 3.5

These versions of Python do not preserve dict insertion order, so may generate erratic coverage test results.
  • Loading branch information
rdb committed Mar 20, 2020
1 parent c185de3 commit 622619ebb468214d0edc9ee345b3cf740b435a30
Showing with 2 additions and 4 deletions.
  1. +2 −4 .github/workflows/ci.yml
@@ -205,8 +205,7 @@ jobs:
shell: bash
run: |
PYTHON_EXECUTABLE=$(grep 'Python_EXECUTABLE:FILEPATH' CMakeCache.txt | sed 's/.*=//')
$PYTHON_EXECUTABLE -m pip install pytest pytest-cov
export COVERAGE_FILE=.coverage.$RANDOM LLVM_PROFILE_FILE=$PWD/pid-%p.profraw
$PYTHON_EXECUTABLE -m pip install pytest
ctest -V -C ${{ matrix.config }}
# END B

@@ -235,8 +234,7 @@ jobs:
shell: bash
run: |
PYTHON_EXECUTABLE=$(grep 'Python_EXECUTABLE:FILEPATH' CMakeCache.txt | sed 's/.*=//')
$PYTHON_EXECUTABLE -m pip install pytest pytest-cov
export COVERAGE_FILE=.coverage.$RANDOM LLVM_PROFILE_FILE=$PWD/pid-%p.profraw
$PYTHON_EXECUTABLE -m pip install pytest
ctest -V -C ${{ matrix.config }}
# END B

0 comments on commit 622619e

Please sign in to comment.
You can’t perform that action at this time.