Add retry for flaky tests, and remove 3.8 from tests

This commit is contained in:
Adam Yoblick 2024-07-10 17:38:20 -05:00
parent ed9a632925
commit e58f228e92
3 changed files with 3 additions and 7 deletions

View file

@ -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:

View file

@ -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", ""])

View file

@ -4,6 +4,7 @@ pytest
pytest-xdist
pytest-cov
pytest-timeout
pytest-retry
## Used by test helpers: