File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 run : |
4040 python -m pip install --upgrade pip setuptools
4141 python -m pip install -r requirements/tests.txt
42+ - name : Install playwright browsers
43+ run : |
44+ python -m playwright install --with-deps chromium
4245 - name : Set up databases
4346 run : |
4447 PGPASSWORD="postgres" createuser -U postgres -d djangoproject --superuser -h localhost
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ COPY ./requirements ./requirements
3030RUN apt-get update \
3131 && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPENDENCIES} \
3232 && python3 -m pip install --no-cache-dir -r ${REQ_FILE} \
33+ && if [ "${REQ_FILE}" = "requirements/tests.txt" ]; then \
34+ echo "Installing Playwright browsers..." ; \
35+ python3 -m playwright install --with-deps chromium; \
36+ fi \
3337 && apt-get purge --assume-yes --auto-remove ${BUILD_DEPENDENCIES} \
3438 && apt-get distclean
3539
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ APP_LIST ?= accounts aggregator blog checklists contact dashboard djangoproject
44SCSS = djangoproject/scss
55STATIC = djangoproject/static
66
7- ci : compilemessages test
7+ ci : compilemessages collectstatics test
88 @python -m coverage report
99
1010compilemessages :
Original file line number Diff line number Diff line change 11-r dev.txt
22coverage==7.13.5
3+ playwright==1.59.0
34requests-mock==1.12.1
45tblib>=3.0.0
You can’t perform that action at this time.
0 commit comments