Skip to content

Factor out dtype logic from test_sum() and test_prod() and apply it t… #88

Factor out dtype logic from test_sum() and test_prod() and apply it t…

Factor out dtype logic from test_sum() and test_prod() and apply it t… #88

Workflow file for this run

name: NumPy Array API
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Checkout array-api-tests
uses: actions/checkout@v1
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy==1.26.2
python -m pip install -r requirements.txt
- name: Run the test suite
env:
ARRAY_API_TESTS_MODULE: numpy.array_api
run: |
pytest -v -rxXfE --ci --skips-file numpy-skips.txt