Bug 1672996 [wpt PR 26258] - Python 3: Make resources/ unit tests run on both Py2 and Py3, a=testonly

Automatic update from web-platform-tests
Python 3: Make resource unit tests run on both Py2 and Py3 (#26258)

--

wpt-commits: 001e50de41dc35820774b27e31f77a165f4c0b9b
wpt-pr: 26258
This commit is contained in:
ziransun 2020-11-02 20:24:00 +00:00 коммит произвёл moz-wptsync-bot
Родитель f41aebbe24
Коммит 08dce54326
3 изменённых файлов: 46 добавлений и 5 удалений

Просмотреть файл

@ -1,6 +1,5 @@
[tox]
# Note that only py27 is run in CI.
envlist = py27,py36
envlist = py27,py36,py38
skipsdist=True
[testenv]

Просмотреть файл

@ -515,9 +515,9 @@ tasks:
run-job:
- wpt_integration
- resources/ tests:
- resources/ tests (Python 2):
description: >-
Tests for testharness.js and other files in resources/
Tests for testharness.js and other files in resources/ under Python 2.7
use:
- wpt-base
- trigger-pr
@ -531,6 +531,46 @@ tasks:
schedule-if:
run-job:
- resources_unittest
- resources/ tests (Python 3.6):
description: >-
Tests for testharness.js and other files in resources/ under Python 3.6
use:
- wpt-base
- trigger-pr
- tox-python3
command: ./tools/ci/ci_resources_unittest.sh
install:
- libnss3-tools
- python3.6
- python3.6-dev
options:
browser:
- firefox
xvfb: true
hosts: true
schedule-if:
run-job:
- resources_unittest
- resources/ tests (Python 3.8):
description: >-
Tests for testharness.js and other files in resources/ under Python 3.8
use:
- wpt-base
- trigger-pr
- tox-python38
command: ./tools/ci/ci_resources_unittest.sh
install:
- libnss3-tools
options:
browser:
- firefox
xvfb: true
hosts: true
schedule-if:
run-job:
- resources_unittest
- infrastructure/ tests:
description: >-

Просмотреть файл

@ -136,7 +136,9 @@ def test_verify_payload():
'tools/ integration tests (Python 2)',
'tools/ integration tests (Python 3.6)',
'tools/ integration tests (Python 3.8)',
'resources/ tests',
'resources/ tests (Python 2)',
'resources/ tests (Python 3.6)',
'resources/ tests (Python 3.8)',
'download-firefox-nightly',
'infrastructure/ tests',
'infrastructure/ tests (Python 3)',