Skip to content

Commit

Permalink
explicitly install requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Sep 17, 2023
1 parent 6e6dee3 commit 992fe78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
pushd "${{ matrix.project.path }}"
if test -f "optional_requirements.txt"
then
pip install -r requirements.txt
pip install -r optional_requirements.txt
pip install scipy==1.8.1
fi
pip install pytest
python3 -m pytest
Expand Down Expand Up @@ -242,6 +242,7 @@ jobs:
if [ -f "project/optional_requirements.txt" ]
then
echo "Installing optional requirements"
python3 -m pip install -r "project/requirements.txt"
python3 -m pip install -r "project/optional_requirements.txt"
fi
- name: Install project
Expand Down Expand Up @@ -331,6 +332,7 @@ jobs:
if [ -f "project/optional_requirements.txt" ]
then
echo "Installing optional requirements"
python3 -m pip install -r "project/requirements.txt"
python3 -m pip install -r "project/optional_requirements.txt"
fi
- name: Install project
Expand Down

0 comments on commit 992fe78

Please sign in to comment.