|
40 | 40 | run: | |
41 | 41 | python -m pip install --upgrade pip |
42 | 42 | pip install -r requirements.txt |
43 | | - pip install pytest pytest-cov flake8 "black==24.8.0" isort |
| 43 | + pip install pytest pytest-cov flake8 "black>=22.0.0" isort |
44 | 44 | |
45 | 45 | - name: Install pygetpapers in development mode |
46 | 46 | run: | |
@@ -116,23 +116,23 @@ jobs: |
116 | 116 | run: | |
117 | 117 | playwright install --with-deps |
118 | 118 | |
119 | | - - name: Test Streamlit app imports |
120 | | - run: | |
121 | | - # Test that all required dependencies are available |
122 | | - python -c "import streamlit; print('Streamlit version:', streamlit.__version__)" |
123 | | - python -c "import plotly; print('Plotly version:', plotly.__version__)" |
124 | | - |
125 | | - # Test that the Streamlit app can be imported (with 30-second timeout to prevent hanging) |
126 | | - python -c "import signal; import sys; signal.alarm(30); import streamlit_app; print('Streamlit app imported successfully')" |
127 | | - |
128 | | - - name: Test run script |
129 | | - run: | |
130 | | - # Test that the run script exists and has valid syntax |
131 | | - python -m py_compile run_streamlit.py |
132 | | - echo "✅ Run script syntax is valid" |
133 | | - |
134 | | - # Test that the script can be imported (without running it - with 30-second timeout) |
135 | | - python -c "import signal; import sys; signal.alarm(30); import run_streamlit; print('✅ Run script imported successfully')" |
| 119 | + # - name: Test Streamlit app imports |
| 120 | + # run: | |
| 121 | + # # Test that all required dependencies are available |
| 122 | + # python -c "import streamlit; print('Streamlit version:', streamlit.__version__)" |
| 123 | + # python -c "import plotly; print('Plotly version:', plotly.__version__)" |
| 124 | + # |
| 125 | + # # Test that the Streamlit app can be imported (with 30-second timeout to prevent hanging) |
| 126 | + # python -c "import signal; import sys; signal.alarm(30); import streamlit_app; print('Streamlit app imported successfully')" |
| 127 | + # |
| 128 | + # - name: Test run script |
| 129 | + # run: | |
| 130 | + # # Test that the run script exists and has valid syntax |
| 131 | + # python -m py_compile run_streamlit.py |
| 132 | + # echo "✅ Run script syntax is valid" |
| 133 | + # |
| 134 | + # # Test that the script can be imported (without running it - with 30-second timeout) |
| 135 | + # python -c "import signal; import sys; signal.alarm(30); import run_streamlit; print('✅ Run script imported successfully')" |
136 | 136 |
|
137 | 137 | - name: Test pygetpapers CLI availability |
138 | 138 | run: | |
|
0 commit comments