File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -281,17 +281,7 @@ jobs:
281281 pip_list=$(poetry run pip list)
282282 echo "Installed packages:"
283283 echo "$pip_list"
284-
285- # Check for base dependencies
286- if ! echo "$pip_list" | grep -i "ni-python-styleguide"; then
287- echo "::error title=Test Failure::ni-python-styleguide not found in pip list"
288- exit 1
289- fi
290- if ! echo "$pip_list" | grep -i "requests"; then
291- echo "::error title=Test Failure::requests not found in pip list"
292- exit 1
293- fi
294-
284+
295285 # Check for extras packages
296286 if ! echo "$pip_list" | grep -i "colorama"; then
297287 echo "::error title=Test Failure::colorama (from colors extra) not found in pip list"
@@ -301,7 +291,7 @@ jobs:
301291 echo "::error title=Test Failure::tomli (from serialization extra) not found in pip list"
302292 exit 1
303293 fi
304-
294+
305295 # Check for dependency group packages
306296 if ! echo "$pip_list" | grep -i "pytest"; then
307297 echo "::error title=Test Failure::pytest (from dev group) not found in pip list"
@@ -315,7 +305,7 @@ jobs:
315305 echo "::error title=Test Failure::click (from utils group) not found in pip list"
316306 exit 1
317307 fi
318-
308+
319309 echo "✅ All expected packages found!"
320310 working-directory : ${{ github.workspace }}/.github/test_projects/extras-and-dependency-groups
321311 shell : bash
You can’t perform that action at this time.
0 commit comments