Skip to content

Commit 85b5620

Browse files
committed
FIX: Update GitHub Actions workflow to use correct streamlit file paths
1 parent d6a20fa commit 85b5620

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

β€Ž.github/workflows/streamlit-dev.ymlβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
- name: Test Streamlit app structure
4343
run: |
4444
# Test that the main app file exists and has correct syntax
45-
python -m py_compile streamlit_app.py
45+
python -m py_compile pygetpapers/streamlit_app.py
4646
echo "βœ… Streamlit app syntax is valid"
4747
4848
# Test that the run script exists and has valid syntax
49-
python -m py_compile run_streamlit.py
49+
python -m py_compile pygetpapers/run_streamlit.py
5050
echo "βœ… Run script syntax is valid"
5151
5252
# Test that the script can be imported (without running it - with 30-second timeout)
53-
python -c "import signal; import sys; signal.alarm(30); import run_streamlit; print('βœ… Run script imported successfully')"
53+
python -c "import signal; import sys; signal.alarm(30); from pygetpapers import run_streamlit; print('βœ… Run script imported successfully')"
5454
5555
# Test that all required dependencies are available
5656
python -c "import streamlit; print(f'βœ… Streamlit {streamlit.__version__}')"
@@ -80,24 +80,24 @@ jobs:
8080
- name: Test port configuration
8181
run: |
8282
# Verify that the app has port configuration
83-
grep -q "port" run_streamlit.py && echo "βœ… Port configuration found in run script"
84-
grep -q "8501\|8502\|8503" run_streamlit.py && echo "βœ… Port range configured in run script"
83+
grep -q "port" pygetpapers/run_streamlit.py && echo "βœ… Port configuration found in run script"
84+
grep -q "8501\|8502\|8503" pygetpapers/run_streamlit.py && echo "βœ… Port range configured in run script"
8585
8686
- name: Lint Streamlit code
8787
run: |
8888
# Basic syntax check (already done above, but double-check)
89-
python -m py_compile streamlit_app.py
90-
python -m py_compile run_streamlit.py
89+
python -m py_compile pygetpapers/streamlit_app.py
90+
python -m py_compile pygetpapers/run_streamlit.py
9191
9292
# Check for common issues
93-
if grep -q "TODO\|FIXME\|XXX" streamlit_app.py; then
93+
if grep -q "TODO\|FIXME\|XXX" pygetpapers/streamlit_app.py; then
9494
echo "⚠️ Found TODO/FIXME comments in streamlit_app.py"
9595
else
9696
echo "βœ… No TODO/FIXME comments found"
9797
fi
9898
9999
# Check for potential issues
100-
if grep -q "streamlit.run()" streamlit_app.py; then
100+
if grep -q "streamlit.run()" pygetpapers/streamlit_app.py; then
101101
echo "βœ… streamlit.run() found (expected)"
102102
fi
103103

0 commit comments

Comments
Β (0)