mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Add retry for flaky tests, and remove 3.8 from tests
This commit is contained in:
parent
ed9a632925
commit
e58f228e92
3 changed files with 3 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
pool: { vmImage: "ubuntu-latest" }
|
||||
|
||||
variables:
|
||||
python.version: "3.8"
|
||||
python.version: "3.9"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
@ -57,8 +57,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
python.version: "3.9"
|
||||
py310:
|
||||
|
|
@ -87,8 +85,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
python.version: "3.9"
|
||||
py310:
|
||||
|
|
@ -117,8 +113,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
python.version: "3.9"
|
||||
py39_32:
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ def test_vsc_exception_options_raise_without_except(
|
|||
sys.platform == "darwin",
|
||||
reason="https://github.com/microsoft/ptvsd/issues/1988",
|
||||
)
|
||||
@pytest.mark.flaky(retries=2, delay=1)
|
||||
@pytest.mark.parametrize("target", targets.all_named)
|
||||
@pytest.mark.parametrize("run", runners.all)
|
||||
@pytest.mark.parametrize("raised", ["raised", ""])
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ pytest
|
|||
pytest-xdist
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
pytest-retry
|
||||
|
||||
## Used by test helpers:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue