@@ -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