Skip to content

fix: np.float128 not found in macOS ARM (#15) #21

fix: np.float128 not found in macOS ARM (#15)

fix: np.float128 not found in macOS ARM (#15) #21

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python Lint & Test
on:
push:
branches: [ "master" ]
paths:
- '.github/workflows/python-check.yml'
- 'numbin/**'
- 'test/**'
pull_request:
branches: [ "master" ]
paths:
- '.github/workflows/python-check.yml'
- 'numbin/**'
- 'test/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint
run: make lint
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 20
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest , macos-13, macos-14, windows-latest]
exclude:
- python-version: "3.8"
os: "macos-14"
- python-version: "3.9"
os: "macos-14"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Test with pytest
run: make test