Skip to content

Commit

Permalink
pip list
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Apr 9, 2024
1 parent 9eae6ea commit 71329ea
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,18 @@ jobs:
- name: Print versions of installed python packages
run: |
packages=("setuptools" "wheel" "numpy" "numba" "scipy" "swig" "cmake" "mpi4py")
for package in "${packages[@]}"
do
output=$(pip list | grep "$package")
if [[ -n $output ]]; then
echo $output
else
echo "$package not installed"
fi
done
pip list
# packages=("setuptools" "wheel" "numpy" "numba" "scipy" "swig" "cmake" "mpi4py")
# for package in "${packages[@]}"
# do
# output=$(pip list | grep "$package")
# if [[ -n $output ]]; then
# echo $output
# else
# echo "$package not installed"
# fi
# done

- name: Build serial
if: ${{ matrix.parallel == false }}
Expand Down

0 comments on commit 71329ea

Please sign in to comment.