Skip to content

ToJustInt scalar- and array-likes in optype.numpy #478

ToJustInt scalar- and array-likes in optype.numpy

ToJustInt scalar- and array-likes in optype.numpy #478

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
lint:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: scientific-python/repo-review@v0.11.2
with:
plugins: sp-repo-review
- name: markdownlint
uses: DavidAnson/markdownlint-cli2-action@v18
with:
config: ".markdownlint.yaml"
globs: "**/*.md"
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: uv sync
run: uv sync --frozen --python 3.10
- name: codespell
run: uv run codespell .
- name: ruff check
run: |
uv run ruff check --output-format=github
uv run ruff format --check
- name: basedmypy
run: uv run mypy .
- name: basedpyright
run: uv run basedpyright
- name: basedpyright --verifytypes
run: uv run basedpyright --ignoreexternal --verifytypes optype
test:
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: setup uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: setup python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: uv sync
run: uv sync
- name: pytest
run: uv run pytest