ci: bump tests to 3.7 and add support for 3.8 (#10110)

This commit is contained in:
Ville Brofeldt 2020-08-05 13:29:07 +03:00 committed by GitHub
parent 57dc7622b4
commit 3983fff084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 7 deletions

View File

@ -36,7 +36,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2.1.1
with:
python-version: '3.6'
python-version: '3.7'
- name: Install dependencies
uses: apache-superset/cached-dependencies@b90713b
with:

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
steps:
- name: Checkout code
uses: actions/checkout@v2
@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
steps:
- name: Checkout code
uses: actions/checkout@v2
@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
steps:
- name: Checkout code
uses: actions/checkout@v2
@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.superset_test_config
@ -191,7 +191,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.superset_test_config

View File

@ -24,7 +24,8 @@ Getting Started
Superset has deprecated support for Python ``2.*`` and supports
only ``~=3.6`` to take advantage of the newer Python features and reduce
the burden of supporting previous versions. We run our test suite
against ``3.6``, but ``3.7`` is fully supported as well.
against ``3.7``, with a subset of tests additionally being run against
``3.6`` and ``3.8``.
Cloud-native!
-------------

View File

@ -146,5 +146,6 @@ setup(
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)