You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use pip-check-reqs/pip-missing-reqs to check for missing dependencies
59
+
requirements-check:
63
60
runs-on: ubuntu-latest
64
61
steps:
65
62
- name: Checkout repository
66
63
uses: actions/checkout@v4
67
64
- name: Set up Python
68
65
uses: actions/setup-python@v4
69
66
with:
70
-
python-version: "3.11.5"
67
+
python-version: "3.10"
71
68
72
69
- name: Install dependencies
73
70
run: |
74
71
python -m pip install --upgrade pip
75
-
pip install -r requirements.txt
76
-
pip install -r requirements-dev.txt
77
-
78
-
- name: Run pipreqs
79
-
run: |
80
-
pipreqs --savepath pipreqs.txt taca 2>&1 | tee pipreqs_output.log
81
-
if grep -q 'WARNING: Package .* does not exist or network problems' pipreqs_output.log; then
82
-
missing_packages=$(grep 'WARNING: Package .* does not exist or network problems' pipreqs_output.log | sed -E 's/.*Package "(.*)" does not exist.*/\1/')
0 commit comments