Skip to content

Commit 053126e

Browse files
add testing deployment for marimo notebook
1 parent f885533 commit 053126e

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/test-deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test Marimo Export
2+
3+
on:
4+
push:
5+
branches: [ repo-web-page ] # Only runs on your branch
6+
pull_request:
7+
branches: [ repo-web-page ]
8+
9+
jobs:
10+
test-export:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.9'
19+
20+
- name: Install dependencies from requirements.txt
21+
run: |
22+
pip install -r requirements.txt
23+
24+
- name: Test marimo export
25+
run: |
26+
marimo export html dashboard.py -o test-index.html
27+
echo "Export completed successfully"
28+
ls -la test-index.html
29+
echo "File size: $(wc -c < test-index.html) bytes"
30+
31+
- name: Upload test artifact
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: marimo-test-export
35+
path: test-index.html

0 commit comments

Comments
 (0)