File tree Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1818 - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose build --pull ${{ matrix.compose_app }}
1919 - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose run ${{ matrix.compose_app }}
2020
21+ sqlite-windows :
22+ name : sqlite-windows
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ python_version :
27+ - 3.6-windowsservercore-ltsc2016
28+ - 3.7-windowsservercore-ltsc2016
29+ runs-on : windows-latest
30+ steps :
31+ - uses : actions/checkout@master
32+ - run : git clone https://github.com/django/django.git --depth=1 ${GITHUB_WORKSPACE}/django
33+ - run : docker-compose pull --include-deps sqlite || true
34+ - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose build --pull sqlite
35+ env :
36+ PYTHON_VERSION : ${{ matrix.python_version }}
37+ - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose run sqlite
38+ env :
39+ PYTHON_VERSION : ${{ matrix.python_version }}
40+
2141 sqlite :
2242 name : sqlite
2343 strategy :
Original file line number Diff line number Diff line change 1+ ARG PYTHON_VERSION
2+ FROM python:${PYTHON_VERSION}
3+
4+ COPY --chown=test:test tests/requirements/ c:/requirements/
5+ RUN $files = @(Get-ChildItem c:\requirements\*.txt); \
6+ foreach ($file in $files) { pip install -r $file }; \
7+ pip install flake8 flake8-isort sphinx pyenchant sphinxcontrib-spelling selenium unittest-xml-reporting
Original file line number Diff line number Diff line change @@ -30,13 +30,28 @@ x-postgres-base: &postgres-base
3030services :
3131 sqlite :
3232 << : *base
33- environment :
34- - DJANGO_SETTINGS_MODULE=settings.test_sqlite
33+ build :
34+ context : ${DJANGO_PATH}
35+ dockerfile : ${PWD}/Dockerfile
3536 entrypoint : python tests/runtests.py
3637 depends_on :
3738 - memcached
3839 - memcached2
3940
41+ sqlite-windows :
42+ << : *base
43+ build :
44+ context : ${DJANGO_PATH}
45+ dockerfile : ${PWD}/Dockerfile.windows
46+ args :
47+ - PYTHON_VERSION=${PYTHON_VERSION}
48+ environment :
49+ - DJANGO_SETTINGS_MODULE=settings.test_sqlite
50+ entrypoint : python tests/runtests.py
51+ depends_on :
52+ - memcached
53+ - memcached2
54+
4055 sqlite-gis :
4156 << : *base
4257 entrypoint : python tests/runtests.py
You can’t perform that action at this time.
0 commit comments