Skip to content

Add uv to GitHub Actions (#58) #201

Add uv to GitHub Actions (#58)

Add uv to GitHub Actions (#58) #201

Workflow file for this run

name: "TestingWindows"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
version: "0.4.12"
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
- name: Test import
run: |
uv run python -c "import geospatial; print('geospatial import successful')"