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 0ffe227
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/test_pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,27 @@ 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 venv boreaenv
source boreaenv/bin/activate
python -m pip install --upgrade pip
python -m pip install setuptools wheel
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
source boreaenv/bin/activate
python --version
python -m pip list
python -c "from osgeo import gdal_array"
- name: Run unit tests with pytest
run: ./ci/test_all.sh
Expand Down

0 comments on commit 0ffe227

Please sign in to comment.