Skip to content

Commit

Permalink
add Python 3.9 to testing matrix
Browse files Browse the repository at this point in the history
Test pure Python version without tox
  • Loading branch information
mozman committed Dec 11, 2020
1 parent e30ca51 commit 24154ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/testcext.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test with C-extensions

on:
Expand All @@ -14,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8']
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test without C-extensions

on:
Expand All @@ -15,15 +12,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, pypy3]
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -c tox-template.ini -e py # Run tox using the version of Python in `PATH`
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# exclude cython to test the pure Python verion
python -m pip install pytest pyparsing geomdl
- name: Install without C-extensions
run: |
python setup.py install
- name: Test without C-extensions
run: |
python -m pytest tests integration_tests

0 comments on commit 24154ca

Please sign in to comment.