Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Merge pull request #16 from helix-xx/new_main #171

Merge pull request #16 from helix-xx/new_main

Merge pull request #16 from helix-xx/new_main #171

Workflow file for this run

name: "Build Test & Unit Test"
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "test/**"
- "setup.py"
- "CMakeLists.txt"
- ".github/workflows/unittest.yml"
pull_request:
paths:
- "src/**"
- "test/**"
- "setup.py"
- "CMakeLists.txt"
- ".github/workflows/unittest.yml"
jobs:
run-test:
name: "run tests"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
include:
- { python-version: "3.9", os: windows-latest }
- { python-version: "3.9", os: macos-latest }
- { python-version: "3.12", os: windows-latest }
- { python-version: "3.12", os: macos-latest }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install py-cjson
run: |
python -m pip install .
- name: run tests
id: tests
run: |
python test/all_test.py --ignore benchmark memory