Skip to content

Read source arrays through a nanoarrow ArrowArrayView #333

Read source arrays through a nanoarrow ArrowArrayView

Read source arrays through a nanoarrow ArrowArrayView #333

Workflow file for this run

name: build
# refer to https://docs.github.com/en/actions/guides/building-and-testing-python
on: [push]
jobs:
build-cpp:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Build C++
run: |
cmake -Bbuild ./extension
cmake --build build/ --target run_tests
- name: Test C++
run: ./build/run_tests
build-cpp-windows:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Build C++
run: |
cmake -Bbuild ./extension
cmake --build build/ --target run_tests
- name: Test C++
run: ./build/Debug/run_tests.exe
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.11", "3.14"]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and build python module
run: |
python -m pip install --upgrade pip wheel setuptools
pip install --verbose .[dev]
- name: Lint
run: |
ruff check
- name: Test with pytest
run: |
pytest --cov=snail --cov-report=term-missing tests