Skip to content

Fix np.matrix complex types #41

Fix np.matrix complex types

Fix np.matrix complex types #41

Workflow file for this run

name: Testing
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch: {}
jobs:
required:
name: "${{matrix.os}} / ${{matrix.python-version}} / ujson: ${{matrix.ujson}}"
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8, "3.12"]
ujson: [false, true]
steps:
- name: Check out github
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 (python)
run: |
python -m pip install --upgrade pip wheel codecov
- name: Install package
run: |
python -m pip install .[test]
- name: Install ujson
if: ${{ matrix.ujson }}
run: |
pip install -U ujson
- name: Run tests
run: |
pytest -v --cov --cov-report term
- name: Upload codecoverage
continue-on-error: true
run: |
codecov