Commit
·
bf9d325
1
Parent(s):
5ad5a9a
Update main.yml
Browse files- added python version 3.7 checkout
- removed the explicit protobuf update
.github/workflows/main.yml
CHANGED
|
@@ -10,6 +10,9 @@ jobs:
|
|
| 10 |
|
| 11 |
steps:
|
| 12 |
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
- name: Install dependencies
|
| 15 |
run: pip install -r requirements.txt
|
|
@@ -21,9 +24,9 @@ jobs:
|
|
| 21 |
- name: Install streamlit dependencies
|
| 22 |
run: |
|
| 23 |
pip install -r streamlit_app/requirements.txt
|
| 24 |
-
pip install --upgrade protobuf
|
| 25 |
|
| 26 |
- name: Run streamlit app
|
| 27 |
run: |
|
| 28 |
nohup streamlit run streamlit_app/app.py &
|
|
|
|
| 29 |
curl http://localhost:8501
|
|
|
|
| 10 |
|
| 11 |
steps:
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
+
- uses: actions/setup-python@v3
|
| 14 |
+
with:
|
| 15 |
+
python-version: '3.7' # Version range or exact version of a Python version to use, using SemVer
|
| 16 |
|
| 17 |
- name: Install dependencies
|
| 18 |
run: pip install -r requirements.txt
|
|
|
|
| 24 |
- name: Install streamlit dependencies
|
| 25 |
run: |
|
| 26 |
pip install -r streamlit_app/requirements.txt
|
|
|
|
| 27 |
|
| 28 |
- name: Run streamlit app
|
| 29 |
run: |
|
| 30 |
nohup streamlit run streamlit_app/app.py &
|
| 31 |
+
sleep 5
|
| 32 |
curl http://localhost:8501
|