Azure Pipelines: Test Windows on Python 3.8 (#7320)

This commit is contained in:
Pradyun Gedam 2020-01-13 12:33:43 +00:00 committed by GitHub
commit b411cdbdf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View File

@ -26,7 +26,10 @@ jobs:
Python37-x64: Python37-x64:
python.version: '3.7' python.version: '3.7'
python.architecture: x64 python.architecture: x64
maxParallel: 5 Python38-x64:
python.version: '3.8'
python.architecture: x64
maxParallel: 6
steps: steps:
- template: ../steps/run-tests-windows.yml - template: ../steps/run-tests-windows.yml
@ -54,7 +57,10 @@ jobs:
Python37-x86: Python37-x86:
python.version: '3.7' python.version: '3.7'
python.architecture: x86 python.architecture: x86
maxParallel: 5 Python38-x86:
python.version: '3.8'
python.architecture: x86
maxParallel: 6
steps: steps:
- template: ../steps/run-tests-windows.yml - template: ../steps/run-tests-windows.yml

View File

@ -25,7 +25,7 @@ steps:
Set-Acl "R:\Temp" $acl Set-Acl "R:\Temp" $acl
displayName: Set RAMDisk Permissions displayName: Set RAMDisk Permissions
- bash: pip install --upgrade setuptools tox - bash: pip install --upgrade setuptools tox virtualenv
displayName: Install Tox displayName: Install Tox
- script: tox -e py -- -m unit -n auto --junit-xml=junit/unit-test.xml - script: tox -e py -- -m unit -n auto --junit-xml=junit/unit-test.xml

View File

@ -99,7 +99,7 @@ Actual testing
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | x86 | CP3.7 | Azure | | | | x86 | CP3.7 | Azure | |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | | CP3.8 | | | | | | CP3.8 | Azure | |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | | PyPy | | | | | | PyPy | | |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
@ -113,7 +113,7 @@ Actual testing
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | x64 | CP3.7 | Azure | Azure | | | x64 | CP3.7 | Azure | Azure |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | | CP3.8 | | | | | | CP3.8 | Azure | Azure |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+
| | | PyPy | | | | | | PyPy | | |
| | +-------+---------------+-----------------+ | | +-------+---------------+-----------------+

View File

@ -136,4 +136,5 @@ def test_console_to_str_warning(monkeypatch):
]) ])
def test_expanduser(home, path, expanded, monkeypatch): def test_expanduser(home, path, expanded, monkeypatch):
monkeypatch.setenv("HOME", home) monkeypatch.setenv("HOME", home)
monkeypatch.setenv("USERPROFILE", home)
assert expanduser(path) == expanded assert expanduser(path) == expanded