Merge pull request #728 from JuroOravec/jo-fix-ci

refactor: pin version of playwright in tests
This commit is contained in:
Emil Stenström 2024-10-30 22:14:59 +01:00 committed by GitHub
commit bebd67221d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,10 @@ deps =
django50: Django>=5.0,<5.1 django50: Django>=5.0,<5.1
pytest pytest
pytest-xdist pytest-xdist
playwright # NOTE: Keep playwright is sync with the version in requirements-ci.txt
# Othrwise we get error:
# playwright._impl._errors.Error: BrowserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1140/chrome-linux/chrome
playwright==1.47.0
requests requests
types-requests types-requests
whitenoise whitenoise
@ -48,7 +51,8 @@ commands = isort --check-only --diff src/django_components
[testenv:coverage] [testenv:coverage]
deps = deps =
pytest-coverage pytest-coverage
playwright # NOTE: Keep playwright in sync with the version in requirements-ci.txt
playwright==1.47.0
requests requests
types-requests types-requests
whitenoise whitenoise