Spaces:
Sleeping
Sleeping
mattoofahad
commited on
Commit
·
2ed95ee
1
Parent(s):
42bef68
adding streamlit action
Browse files
.github/workflows/streamlit.yml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Streamlit app
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches: [ "main" ]
|
6 |
+
pull_request:
|
7 |
+
branches: [ "main" ]
|
8 |
+
|
9 |
+
permissions:
|
10 |
+
contents: read
|
11 |
+
|
12 |
+
jobs:
|
13 |
+
streamlit:
|
14 |
+
runs-on: ubuntu-latest
|
15 |
+
steps:
|
16 |
+
- uses: actions/checkout@v4
|
17 |
+
- uses: actions/setup-python@v5
|
18 |
+
with:
|
19 |
+
python-version: '3.10'
|
20 |
+
- uses: streamlit/[email protected]
|
21 |
+
with:
|
22 |
+
app-path: src\app.py
|
23 |
+
ruff: true
|