Spaces:
No application file
No application file
FrederikKl
commited on
Commit
•
01c190b
1
Parent(s):
07628b5
Update python-app.yml
Browse files
.github/workflows/python-app.yml
CHANGED
@@ -18,19 +18,24 @@ jobs:
|
|
18 |
runs-on: ubuntu-latest
|
19 |
|
20 |
steps:
|
21 |
-
-
|
|
|
|
|
22 |
- name: Set up Python 3.11.5
|
23 |
uses: actions/setup-python@v3
|
24 |
with:
|
25 |
python-version: "3.11.5"
|
|
|
26 |
- name: Install dependencies
|
27 |
run: |
|
28 |
python -m pip install --upgrade pip
|
29 |
pip install flake8 pytest
|
30 |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
|
31 |
- name: Make the script executable
|
32 |
-
run:
|
33 |
-
|
34 |
- name: Run the app
|
35 |
-
|
36 |
-
|
|
|
|
18 |
runs-on: ubuntu-latest
|
19 |
|
20 |
steps:
|
21 |
+
- name: checkout repo content
|
22 |
+
uses: actions/checkout@v4
|
23 |
+
|
24 |
- name: Set up Python 3.11.5
|
25 |
uses: actions/setup-python@v3
|
26 |
with:
|
27 |
python-version: "3.11.5"
|
28 |
+
|
29 |
- name: Install dependencies
|
30 |
run: |
|
31 |
python -m pip install --upgrade pip
|
32 |
pip install flake8 pytest
|
33 |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
34 |
+
|
35 |
- name: Make the script executable
|
36 |
+
run: chmod +x ./notebooks/scripts/run_app.sh
|
37 |
+
|
38 |
- name: Run the app
|
39 |
+
env:
|
40 |
+
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
|
41 |
+
run: ./notebooks/scripts/run_app.sh
|