Skip to content

allow bool output for kernel dtype #102

allow bool output for kernel dtype

allow bool output for kernel dtype #102

# Install package and run pytest using uv
# https://docs.astral.sh/uv/guides/integration/github/
name: package & pytest
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: package
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.6.12"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --extra cpu --extra test --dev
- name: Run tests
run: uv run pytest