5
5
steps :
6
6
- name : Checkout repository
7
7
uses : actions/checkout@v3
8
- - name : Setup python 3.8
8
+ - name : Setup python 3.10
9
9
uses : actions/setup-python@v4
10
10
with :
11
- python-version : 3.8
11
+ python-version : 3.10
12
12
- name : Install pre-commit
13
13
run : pip install pre-commit
14
14
- name : Run pre-commit
@@ -26,28 +26,55 @@ jobs:
26
26
run : gem install license_finder
27
27
- name : Allow gevent Zope license
28
28
run : license_finder permitted_licenses add "Zope Public License"
29
- - name : Setup python 3.8
29
+ - name : Setup python 3.10
30
30
uses : actions/setup-python@v4
31
31
with :
32
- python-version : 3.8
32
+ python-version : 3.10
33
33
- name : Install apt dependencies
34
34
run : sudo apt-get update -y && sudo apt-get install -y python3-dev openssl libssl-dev gcc pkg-config libffi-dev libxml2-dev libxmlsec1-dev
35
35
- name : Install dependencies
36
- run : pip install -r piptools_requirements3 .txt && pip install -r requirements3 .txt
36
+ run : pip install -r piptools_requirements .txt && pip install -r requirements .txt
37
37
- name : Run license finder
38
38
run : license_finder
39
+ build-docs :
40
+ name : Build and publish docs
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Checkout repository
44
+ uses : actions/checkout@v3
45
+ - name : Setup python 3.10
46
+ uses : actions/setup-python@v4
47
+ with :
48
+ python-version : 3.10
49
+ - name : Install virtualenv
50
+ run : pip install virtualenv
51
+ - name : Build docs
52
+ run : make build_docs
53
+ - name : Remove docs folder, so github will ignore it
54
+ run : rm -rf docs
55
+ build--docker-image :
56
+ name : Build and publish docker image
57
+ runs-on : ubuntu-latest
58
+ steps :
59
+ - name : Checkout repository
60
+ uses : actions/checkout@v3
61
+ - name : Publish to Registry
62
+
63
+ with :
64
+ name : lyft/omnibot
65
+ no_push : true
39
66
test :
40
67
runs-on : ubuntu-latest
41
68
steps :
42
69
- name : Checkout repository
43
70
uses : actions/checkout@v3
44
- - name : Setup python 3.8
71
+ - name : Setup python 3.10
45
72
uses : actions/setup-python@v4
46
73
with :
47
- python-version : 3.8
74
+ python-version : 3.10
48
75
- name : Install apt dependencies
49
76
run : sudo apt-get update -y && sudo apt-get install -y python3-dev openssl libssl-dev gcc pkg-config libffi-dev libxml2-dev libxmlsec1-dev
50
77
- name : Install dependencies
51
- run : pip install -r piptools_requirements3 .txt && pip install -r requirements3 .txt
78
+ run : pip install -r piptools_requirements .txt && pip install -r requirements .txt
52
79
- name : Run tests
53
80
run : make test
0 commit comments