Skip to content

Commit 7d8365c

Browse files
committed
Move tests to python >= 3.7 because of quadpy
1 parent ff47278 commit 7d8365c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macOS-latest]
12-
python-version: [3.6, 3.7, 3.8]
12+
python-version: [3.7, 3.8, 3.9]
1313
name: Python ${{ matrix.python-version }} example
1414

1515
steps:

azure-pipelines.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ jobs:
55
vmImage: 'macOS-latest'
66
strategy:
77
matrix:
8-
Python36:
9-
python.version: '3.6'
108
Python37:
119
python.version: '3.7'
1210
Python38:
1311
python.version: '3.8'
12+
Python39:
13+
python.version: '3.9'
1414

1515
steps:
1616
- bash: echo "##vso[task.prependpath]$CONDA/bin"
@@ -35,12 +35,13 @@ jobs:
3535
vmImage: 'ubuntu-latest'
3636
strategy:
3737
matrix:
38-
Python36:
39-
python.version: '3.6'
4038
Python37:
4139
python.version: '3.7'
4240
Python38:
4341
python.version: '3.8'
42+
Python39:
43+
python.version: '3.9'
44+
4445
steps:
4546
- bash: echo "##vso[task.prependpath]$CONDA/bin"
4647
displayName: Add conda to PATH
@@ -55,7 +56,7 @@ jobs:
5556
conda build --no-test --python $PYTHON_VERSION ./conf/conda
5657
conda create --name shenfun pip shenfun python=$PYTHON_VERSION --use-local
5758
source activate shenfun
58-
pip install pytest-cov pytest quadpy>=0.16.9
59+
pip install pytest-cov pytest quadpy
5960
pytest tests/ --junitxml=junit/test-results.xml --cov=$(python -c "import site; print(site.getsitepackages()[0]+'/shenfun')") --cov-report=xml --cov-report=html
6061
displayName: Build and test
6162
@@ -72,7 +73,7 @@ jobs:
7273
reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov'
7374

7475
- bash: |
75-
if [ $PYTHON_VERSION == 3.7 ]; then
76+
if [ $PYTHON_VERSION == 3.9 ]; then
7677
source activate shenfun
7778
pip install codecov
7879
bash <(curl -s https://codecov.io/bash)

conf/conda/component-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
quadpy >=0.16.9
1+
quadpy

0 commit comments

Comments
 (0)