Skip to content

Add basic builtin function WordTranslation #233

Add basic builtin function WordTranslation

Add basic builtin function WordTranslation #233

name: Mathics3-Module-nltk (Consistency Checks)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
NLTK_DATA: "/tmp"
strategy:
matrix:
python-version: ['3.13']
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest setuptools
python -m pip install Mathics3-Module-Base
# Until the next Mathics3-scanner release
git clone https://github.com/Mathics3/Mathics3-scanner
(cd Mathics3-scanner && pip3 install -e .[full] --no-build-isolation && bash -x ./admin-tools/make-JSON-tables.sh)
# Until the next mathics-core release
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && python -m pip install --no-build-isolation -e .[full])
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
- name: Install Mathics3 Module nltk
run: |
python -m pip install --no-build-isolation setuptools Mathics3[full] nltk PatternLite enchant
make develop
- name: Test Mathics3 Consistency and Style
run: |
make develop
make check-consistency-and-style