Skip to content

Commit bd4c609

Browse files
authored
enable Python 3.9 testing (#1352)
1 parent 876e5bd commit bd4c609

File tree

3 files changed

+30
-27
lines changed

3 files changed

+30
-27
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- python: "3.6"
2424
- python: "3.7"
2525
- python: "3.8"
26+
- python: "3.9-dev"
2627
- python: "3.8"
2728
name: "CWL v1.0 conformance tests"
2829
script: ${TRAVIS_BUILD_DIR}/travis.bash

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
"Programming Language :: Python :: 3.6",
145145
"Programming Language :: Python :: 3.7",
146146
"Programming Language :: Python :: 3.8",
147+
"Programming Language :: Python :: 3.9",
147148
"Topic :: Scientific/Engineering",
148149
"Topic :: Scientific/Engineering :: Bio-Informatics",
149150
"Topic :: Scientific/Engineering :: Astronomy",

tox.ini

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist =
3-
py{36,37,38}-lint,
4-
py{36,37,38}-unit,
5-
py{36,37,38}-bandit,
3+
py{36,37,38,39}-lint,
4+
py{36,37,38,39}-unit,
5+
py{36,37,38,39}-bandit,
66
py{36,37,38}-mypy,
77
py38-lint-readme,
88
py38-pydocstyle
@@ -15,12 +15,13 @@ python =
1515
3.6: py36
1616
3.7: py37
1717
3.8: py38
18+
3.9: py39
1819

1920
[testenv]
2021
description =
21-
py{36,37,38}-unit: Run the unit tests
22-
py{36,37,38}-lint: Lint the Python code
23-
py{36,37,38}-bandit: Search for common security issues
22+
py{36,37,38,39}-unit: Run the unit tests
23+
py{36,37,38,39}-lint: Lint the Python code
24+
py{36,37,38,39}-bandit: Search for common security issues
2425
py{36,37,38}-mypy: Check for type safety
2526

2627
passenv =
@@ -30,36 +31,36 @@ passenv =
3031
PROOT_NO_SECCOMP
3132
deps =
3233
-rrequirements.txt
33-
py{36,37,38}-unit: codecov
34-
py{36,37,38}-unit: pytest-xdist
35-
py{36,37,38}-unit: pytest-cov
36-
py{36,37,38}-{unit,mypy}: -rtest-requirements.txt
37-
py{36,37,38}-unit: galaxy-tool-util
38-
py{36,37,38}-lint: flake8-bugbear
39-
py{36,37,38}-lint: black
40-
py{36,37,38}-bandit: bandit
34+
py{36,37,38,39}-unit: codecov
35+
py{36,37,38,39}-unit: pytest-xdist
36+
py{36,37,38,39}-unit: pytest-cov
37+
py{36,37,38,39}-{unit,mypy}: -rtest-requirements.txt
38+
py{36,37,38,39}-unit: galaxy-tool-util
39+
py{36,37,38,39}-lint: flake8-bugbear
40+
py{36,37,38,39}-lint: black
41+
py{36,37,38,39}-bandit: bandit
4142
py{36,37,38}-mypy: mypy==0.780
4243

4344
setenv =
44-
py{36,37,38}-unit: LC_ALL = C
45+
py{36,37,38,39}-unit: LC_ALL = C
4546

4647
commands =
47-
py{36,37,38}-unit: python3 -m pip install -U pip setuptools wheel
48-
py{36,37,38}-unit: python3 -m pip install -e .[deps]
49-
py{36,37,38}-unit: python3 -m pip install -rtest-requirements.txt
50-
py{36,37,38}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
51-
py{36,37,38}-unit: coverage combine
52-
py{36,37,38}-unit: coverage report
53-
py{36,37,38}-unit: coverage xml
54-
py{36,37,38}-unit: codecov --file coverage.xml
55-
py{36,37,38}-bandit: bandit -r cwltool
56-
py{36,37,38}-lint: flake8 cwltool setup.py
48+
py{36,37,38,39}-unit: python3 -m pip install -U pip setuptools wheel
49+
py{36,37,38,39}-unit: python3 -m pip install -e .[deps]
50+
py{36,37,38,39}-unit: python3 -m pip install -rtest-requirements.txt
51+
py{36,37,38,39}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
52+
py{36,37,38,39}-unit: coverage combine
53+
py{36,37,38,39}-unit: coverage report
54+
py{36,37,38,39}-unit: coverage xml
55+
py{36,37,38,39}-unit: codecov --file coverage.xml
56+
py{36,37,38,39}-bandit: bandit -r cwltool
57+
py{36,37,38,39}-lint: flake8 cwltool setup.py
5758
py{36,37,38}-mypy: make mypy
5859
py{36,37,38}-mypy: make mypyc
5960

6061
whitelist_externals =
61-
py{36,37,38}-lint: flake8
62-
py{36,37,38}-lint: black
62+
py{36,37,38,39}-lint: flake8
63+
py{36,37,38,39}-lint: black
6364
py{36,37,38}-mypy: make
6465

6566
[testenv:py38-pydocstyle]

0 commit comments

Comments
 (0)