55 steps :
66 - name : Checkout repository
77 uses : actions/checkout@v3
8- - name : Setup python 3.8
8+ - name : Setup python 3.10
99 uses : actions/setup-python@v4
1010 with :
11- python-version : 3.8
11+ python-version : 3.10
1212 - name : Install pre-commit
1313 run : pip install pre-commit
1414 - name : Run pre-commit
@@ -26,28 +26,55 @@ jobs:
2626 run : gem install license_finder
2727 - name : Allow gevent Zope license
2828 run : license_finder permitted_licenses add "Zope Public License"
29- - name : Setup python 3.8
29+ - name : Setup python 3.10
3030 uses : actions/setup-python@v4
3131 with :
32- python-version : 3.8
32+ python-version : 3.10
3333 - name : Install apt dependencies
3434 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
3535 - 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
3737 - name : Run license finder
3838 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
3966 test :
4067 runs-on : ubuntu-latest
4168 steps :
4269 - name : Checkout repository
4370 uses : actions/checkout@v3
44- - name : Setup python 3.8
71+ - name : Setup python 3.10
4572 uses : actions/setup-python@v4
4673 with :
47- python-version : 3.8
74+ python-version : 3.10
4875 - name : Install apt dependencies
4976 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
5077 - 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
5279 - name : Run tests
5380 run : make test
0 commit comments