File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,21 @@ jobs:
14
14
15
15
runs-on : ubuntu-latest
16
16
17
+ container : python:3.7-alpine
18
+
17
19
steps :
18
20
- name : " Checkout"
19
21
uses : actions/checkout@v2
20
22
21
- - name : " Set up Python 3.7"
22
- uses : actions/setup-python@v1
23
- with :
24
- python-version : ' 3.7' # Semantic version range syntax or exact version of a Python version
25
-
26
23
- name : " Display Python version"
27
24
run : python -c "import sys; print(sys.version)"
28
25
29
- - name : " Install Sphinx dependencies"
30
- run : sudo apt-get install python-dev build-essential
31
-
32
26
- name : " Install Sphinx"
33
27
run : pip install --user sphinx
34
28
29
+ - name : " Install pip dependencies"
30
+ run : apk add --no-cache git make
31
+
35
32
- name : " Install custom requirements via pip"
36
33
run : pip install -r _build/.requirements.txt
37
34
You can’t perform that action at this time.
0 commit comments