Skip to content

馃搵 Add Base 5.10 Mathematics Umbrella Patent #2

馃搵 Add Base 5.10 Mathematics Umbrella Patent

馃搵 Add Base 5.10 Mathematics Umbrella Patent #2

Workflow file for this run

name: Base 3 Spiral CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Test Base 3 Spiral examples
run: |
python run_base3_spiral.py examples/hello_world.b3s
python run_base3_spiral.py examples/quantum_computing.b3s --duration 1
- name: Test standard library
run: |
python -c "from base3_standard_lib import math_lib; print('Math lib test:', math_lib.factorial(5))"
python -c "from base3_spiral_core import Base3Number; print('Core test:', Base3Number(5.5))"