Skip to content

Commit

Permalink
chore(ci): update Python package workflow to install setuptools and f…
Browse files Browse the repository at this point in the history
…ix conditional syntax

- Added installation of setuptools and wheel to the CI workflow for better package management.
- Fixed syntax in the conditional statement for installing numba to ensure proper execution.
- These changes improve the reliability of the CI process and ensure all necessary dependencies are installed.
  • Loading branch information
saleh-mir committed Jan 3, 2025
1 parent 20c61e7 commit f39e062
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ ! ${{ matrix.python-version }} = "3.10"]; then pip install numba; fi
if [ ! ${{ matrix.python-version }} = "3.10" ]; then pip install numba; fi
pip install -e . -U
# - name: Lint with flake8
# run: |
Expand Down

0 comments on commit f39e062

Please sign in to comment.