File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ jobs:
2323 with :
2424 python-version : 3.8
2525
26- # Check if requirements.txt exists and only install if it does
2726 - name : Install dependencies
2827 run : |
28+ python -m pip install --upgrade pip
2929 if [ -f "requirements.txt" ]; then
30- python -m pip install --upgrade pip
3130 pip install -r requirements.txt
3231 else
3332 echo "requirements.txt not found, skipping dependency installation."
3433 fi
34+ pip install wheel
3535
3636 - name : Run tests
3737 run : |
3838 pytest
39- continue-on-error : true # This will allow the job to continue even if pytest fails due to missing dependencies
39+ continue-on-error : true
4040
4141 release :
4242 runs-on : ubuntu-latest
@@ -51,15 +51,10 @@ jobs:
5151 with :
5252 python-version : 3.8
5353
54- # Re-check and handle the dependencies for release
55- - name : Install dependencies
54+ - name : Install build dependencies
5655 run : |
57- if [ -f "requirements.txt" ]; then
58- python -m pip install --upgrade pip
59- pip install -r requirements.txt
60- else
61- echo "requirements.txt not found, skipping dependency installation."
62- fi
56+ python -m pip install --upgrade pip
57+ pip install setuptools wheel
6358
6459 - name : Build package
6560 run : |
You can’t perform that action at this time.
0 commit comments