Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890) · pythoncapi/cpython@3f197f9 · GitHub
Skip to content

Commit 3f197f9

Browse files
authored
Enable GUI tests in VSTS Linux builds via xvfb-run (pythonGH-7890)
1 parent ea73775 commit 3f197f9

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

.vsts/linux-buildbot.yml

Lines changed: 2 additions & 1 deletion

.vsts/linux-coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ steps:
5353
liblzma-dev
5454
libffi-dev
5555
uuid-dev
56+
xvfb
5657
displayName: 'Install dependencies'
5758
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
5859
displayName: 'python multissltests.py'
@@ -70,7 +71,7 @@ steps:
7071
- script: ./venv/bin/python -m test.pythoninfo
7172
displayName: 'Display build info'
7273

73-
- script: ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
74+
- script: xvfb-run ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
7475
displayName: 'Tests with coverage'
7576

7677
- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)

.vsts/linux-deps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ steps:
3131
liblzma-dev
3232
libffi-dev
3333
uuid-dev
34+
xvfb
3435
displayName: 'Install dependencies'
3536
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
3637
displayName: 'python multissltests.py'

.vsts/linux-pr.yml

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)