forked from opengeos/geoai
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 1.12 KB
/
windows.yml
File metadata and controls
40 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
push:
branches:
- main
pull_request:
branches:
- main
name: Windows build
jobs:
test-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: ""
enable-cache: false
- name: Install dependencies
run: |
uv venv --python ${{ matrix.python-version }}
uv pip install .
# - name: Update PROJ data files
# run: |
# pip install --upgrade pyproj
# curl -L -o proj-data.zip https://download.osgeo.org/proj/proj-data-1.9.zip
# unzip proj-data.zip -d proj-data
# cp -r proj-data/* $(python -m pyproj -v | grep "PROJ_LIB" | cut -d ' ' -f 2)
- name: Test import
run: |
.venv\Scripts\python -c "import geoai; print('geoai import successful')"