22# Tox global configuration
33#
44[tox]
5- envlist = py{36,37},py38-nocover,py39 -nocover
5+ envlist = py{36,37},py{38,39,310} -nocover
66skip_missing_interpreters = true
77isolated_build = true
88
@@ -18,29 +18,29 @@ BST_PLUGINS_EXPERIMENTAL_VERSION = 1.93.4
1818[testenv]
1919usedevelop =
2020 # This is required by Cython in order to get coverage for cython files.
21- py{36,37,38,39}-!nocover: True
21+ py{36,37,38,39,310 }-!nocover: True
2222
2323commands =
2424 # Running with coverage reporting enabled
25- py{36,37,38,39}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc {posargs}
25+ py{36,37,38,39,310 }-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc {posargs}
2626 # Running with coverage reporting disabled
27- py{36,37,38,39}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
27+ py{36,37,38,39,310 }-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
2828 # Running external plugins tests with coverage reporting enabled
29- py{36,37,38,39}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc --plugins {posargs}
29+ py{36,37,38,39,310 }-plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc --plugins {posargs}
3030 # Running external plugins tests with coverage disabled
31- py{36,37,38,39}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
31+ py{36,37,38,39,310 }-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
3232commands_post:
33- py{36,37,38,39}-!nocover: mkdir -p .coverage-reports
34- py{36,37,38,39}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
33+ py{36,37,38,39,310 }-!nocover: mkdir -p .coverage-reports
34+ py{36,37,38,39,310 }-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
3535deps =
36- py{36,37,38,39}: -rrequirements/requirements.txt
37- py{36,37,38,39}: -rrequirements/dev-requirements.txt
36+ py{36,37,38,39,310 }: -rrequirements/requirements.txt
37+ py{36,37,38,39,310 }: -rrequirements/dev-requirements.txt
3838
3939 # Install local sample plugins for testing pip plugin origins
40- py{36,37,38,39}: {toxinidir}/tests/plugins/sample-plugins
40+ py{36,37,38,39,310 }: {toxinidir}/tests/plugins/sample-plugins
4141
4242 # Install external plugins for plugin tests
43- py{36,37,38,39}-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}# egg=bst_plugins_experimental[deb]
43+ py{36,37,38,39,310 }-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}# egg=bst_plugins_experimental[deb]
4444
4545 # Only require coverage and pytest-cov when using it
4646 !nocover: -rrequirements/cov-requirements.txt
@@ -68,17 +68,17 @@ passenv =
6868# These keys are not inherited by any other sections
6969#
7070setenv =
71- py{36,37,38,39}: COVERAGE_FILE = {envtmpdir}/.coverage
72- py{36,37,38,39}: BST_TEST_HOME = {envtmpdir}
73- py{36,37,38,39}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
74- py{36,37,38,39}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
75- py{36,37,38,39}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
71+ py{36,37,38,39,310 }: COVERAGE_FILE = {envtmpdir}/.coverage
72+ py{36,37,38,39,310 }: BST_TEST_HOME = {envtmpdir}
73+ py{36,37,38,39,310 }: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
74+ py{36,37,38,39,310 }: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
75+ py{36,37,38,39,310 }: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
7676 # This is required to get coverage for Cython
77- py{36,37,38,39}-!nocover: BST_CYTHON_TRACE = 1
77+ py{36,37,38,39,310 }-!nocover: BST_CYTHON_TRACE = 1
7878 randomized: PYTEST_ADDOPTS =" --random-order-bucket=global"
7979
8080whitelist_externals =
81- py{36,37,38,39}:
81+ py{36,37,38,39,310 }:
8282 mv
8383 mkdir
8484
0 commit comments