File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,28 @@ jobs:
33
33
steps :
34
34
- name : Install packages
35
35
run : |
36
- apt-get update && apt-get install -y git python3-pip
36
+ apt-get update && apt-get install -y build-essential git python3-dev
37
37
38
38
- uses : actions/checkout@v4
39
39
40
+ - name : Create virtual environment
41
+ run : |
42
+ curl -LsSf https://astral.sh/uv/install.sh | sh
43
+ . $HOME/.cargo/env
44
+ uv venv .venv
45
+ echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
46
+ echo "$PWD/.venv/bin" >> $GITHUB_PATH
47
+
40
48
- name : Install Python Dependencies
41
49
run : |
42
- python3 -m pip install --no-cache-dir -U pip wheel
43
- python3 -m pip install --no-cache-dir -e .[dev,test,geopandas]
50
+ uv pip install pip wheel
51
+ uv pip install -e .[dev,test,geopandas]
44
52
45
53
- name : Install pyarrow
46
54
# GDAL>=3.6 required to use Arrow API
47
55
if : matrix.container != 'osgeo/gdal:ubuntu-small-3.5.3' && matrix.container != 'osgeo/gdal:ubuntu-small-3.4.3'
48
56
run : |
49
- python3 -m pip install pyarrow
57
+ uv pip install pyarrow
50
58
51
59
- name : Test with pytest
52
60
run : |
You can’t perform that action at this time.
0 commit comments