File tree 3 files changed +44
-2
lines changed
3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 18
18
- run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose build --pull ${{ matrix.compose_app }}
19
19
- run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose run ${{ matrix.compose_app }}
20
20
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
+
21
41
sqlite :
22
42
name : sqlite
23
43
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
30
30
services :
31
31
sqlite :
32
32
<< : *base
33
- environment :
34
- - DJANGO_SETTINGS_MODULE=settings.test_sqlite
33
+ build :
34
+ context : ${DJANGO_PATH}
35
+ dockerfile : ${PWD}/Dockerfile
35
36
entrypoint : python tests/runtests.py
36
37
depends_on :
37
38
- memcached
38
39
- memcached2
39
40
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
+
40
55
sqlite-gis :
41
56
<< : *base
42
57
entrypoint : python tests/runtests.py
You can’t perform that action at this time.
0 commit comments