File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -8,21 +8,19 @@ on: [push, pull_request]
88jobs :
99 build :
1010 runs-on : ubuntu-20.04
11+ container :
12+ image : python:2.7.18-buster
1113 environment : CI
1214 steps :
13- - uses : actions/checkout@v2
14- - name : Set up Python 2.7
15- uses : actions/setup-python@v2
16- with :
17- python-version : 2.7
18-
15+ - name : Checkout project
16+ uses : actions/checkout@v3
1917 - name : Install dependencies
2018 run : |
21- sudo apt-get update -qq
22- sudo apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
23- pip install --force-reinstall --no-binary lxml lxml
24- pip install .
25- pip install -e ".[test]"
19+ apt-get update -qq
20+ apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
21+ pip install --disable-pip-version-check --no-cache-dir -- force-reinstall --no-binary lxml lxml
22+ pip install --disable-pip-version-check --no-cache-dir .
23+ pip install --disable-pip-version-check --no-cache-dir - e ".[test]"
2624
2725 - name : Lint
2826 run : |
You can’t perform that action at this time.
0 commit comments