Skip to content

Commit

Permalink
fix: debug test pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ACornuIGN committed Oct 7, 2024
1 parent 60028cf commit 72dc39d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/test_pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,24 @@ jobs:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10
- name: Install GDAL
python-version: "3.10"

- name: Install environment
run: |
sudo apt-get update
sudo apt-get install gdal-bin libgdal-dev
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
python -m pip install --upgrade pip
python -m pip install -r ./borea_dependency/requirements-dev.txt
python -m pip install GDAL==3.4.1
- name: Install environment
- name: test version python
run: |
python -m pip install --upgrade pip
pip install -r ./borea_dependency/requirements-dev.txt
pip install GDAL==3.4.1
python --version
python -m pip list
python -c "import sys; print(sys.version)"
python -c "from osgeo import gdal_array"
- name: Run unit tests with pytest
run: ./ci/test_all.sh
Expand Down

0 comments on commit 72dc39d

Please sign in to comment.