Skip to content

Replace ujson with orjson #72

Replace ujson with orjson

Replace ujson with orjson #72

Workflow file for this run

name: Mac tests
on:
push:
branches:
- develop
pull_request:
branches:
- '*'
jobs:
build:
name: Mac Py${{ matrix.PYTHON_VERSION }}
runs-on: macos-13
env:
CI: 'true'
OS: 'macos'
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.10', '3.9', '3.8']
timeout-minutes: 10
steps:
- uses: actions/cache@v4
with:
path: ~/Library/Caches/pip
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
- run: pip install -e .[all,test]
- run: pytest -v test/
# Enable this if SSH debugging is required
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# if: ${{ failure() }}