File tree Expand file tree Collapse file tree 2 files changed +2
-56
lines changed
Expand file tree Collapse file tree 2 files changed +2
-56
lines changed Original file line number Diff line number Diff line change 3030 with :
3131 python-version : ${{ matrix.python }}
3232 - name : Install tox and any other packages
33- run : pip install tox
33+ run : pip install ' tox<4.9'
3434 - name : Run tox
3535 run : tox -e ${{ matrix.toxenv }}
3636
5252 - name : Install gdal
5353 run : sudo apt-get install -y libgdal-dev libsqlite3-mod-spatialite
5454 - name : Install tox and any other packages
55- run : pip install tox
56- - name : Run tox
57- run : tox -e ${{ matrix.toxenv }} -- --test-spatial
58-
59- test-Python2 :
60- runs-on : ubuntu-latest
61- strategy :
62- matrix :
63- python : ["2.7"]
64- toxenv : ["py27"]
65-
66- steps :
67- - uses : actions/checkout@v3
68- - name : Setup Python
69- uses : actions/setup-python@v4
70- with :
71- python-version : ${{ matrix.python }}
72- - name : Install tox and any other packages
73- run : pip install tox
74- - name : Run tox
75- run : tox -e ${{ matrix.toxenv }}
76-
77- test-spatial-Python2 :
78- runs-on : ubuntu-latest
79- strategy :
80- matrix :
81- python : ["2.7"]
82- toxenv : ["py27"]
83-
84- steps :
85- - uses : actions/checkout@v3
86- - name : Setup Python
87- uses : actions/setup-python@v4
88- with :
89- python-version : ${{ matrix.python }}
90- - name : Update apt
91- run : sudo apt-get update
92- - name : Install gdal
93- run : sudo apt-get install -y libgdal-dev libsqlite3-mod-spatialite
94- - name : Install tox and any other packages
95- run : pip install tox
55+ run : pip install 'tox<4.9'
9656 - name : Run tox
9757 run : tox -e ${{ matrix.toxenv }} -- --test-spatial
9858
10262 - pre-commit
10363 - test
10464 - test-spatial
105- - test-Python2
106- - test-spatial-Python2
10765 runs-on : ubuntu-latest
10866 steps :
10967 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 11[tox]
22envlist =
3- py27
43 py39-dj{22,32}
54 py310-dj{22,32}
65 py311-dj{22,32}
76platform = linux
87
9- [testenv:py27]
10- commands =
11- pip install --global-option =build_ext --global-option =' -USQLITE_OMIT_LOAD_EXTENSION' pysqlite
12- pytest {posargs}
13- deps =
14- pytest
15- pytest-django
16- pyquery<1.4
17- six
18- Django<2
19-
208[testenv]
219commands =
2210 pytest {posargs}
You can’t perform that action at this time.
0 commit comments