Skip to content

Revise to use pyproject #163

Revise to use pyproject

Revise to use pyproject #163

Workflow file for this run

name: pymathics-natlang (macOS)
on:
push:
branches: [ master ]
pull_request:
branches: '**'
jobs:
build:
env:
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
runs-on: macos-latest
strategy:
matrix:
os: [macOS]
python-version: ['3.13']
steps:
- 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
run: |
brew update
brew install llvm tesseract enchant mysql
python -m pip install --upgrade pip
pip install pytest pyenchant
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
python -m pip install -e .
- name: Install Mathics3 natlang Module
run: |
make develop
- name: Test natlang
run: |
make check