diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 558946d..50538ea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,8 +33,6 @@ jobs: duckdb-slug: linux-amd64 - runner: macos-latest duckdb-slug: osx-universal - # https://github.com/stac-utils/rustac-py/issues/1 - # - windows-latest steps: - uses: actions/checkout@v4 with: @@ -62,3 +60,25 @@ jobs: # not worth it to install cairo on macos if: runner.os == 'ubuntu-latest' run: uv run mkdocs build --strict + test-windows: + name: Test (windows) + runs-on: windows-latest + env: + DUCKDB_LIB_DIR: ${{ github.workspace }} + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: astral-sh/setup-uv@v3 + - uses: Swatinem/rust-cache@v2 + - name: Install Python version + run: uv python install 3.11 + - name: Install libduckdb + run: | + curl -O -L https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-windows-amd64.zip + unzip libduckdb-windows-amd64.zip -d ${{ github.workspace }} + - name: Add local directory to path for libduckdb + run: echo ${{ github.workspace }} >> "$GITHUB_PATH" + shell: bash + - name: Test + run: uv run pytest --all-extras