Go over formatting now that we have InterpretBox #824
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Mathics3-django (ubuntu) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '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 OS dependencies | |
| run: | | |
| sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev nodejs npm tesseract-ocr | |
| python -m pip install --upgrade pip | |
| - name: Install Python dependencies | |
| run: | | |
| # Can adjust when next Mathics3 is released | |
| git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git | |
| cd Mathics3-scanner/ | |
| pip install -e . | |
| bash -x admin-tools/make-JSON-tables.sh | |
| cd .. | |
| git clone --depth 1 https://github.com/Mathics3/mathics-core.git | |
| cd mathics-core/ | |
| pip install -e . | |
| bash -x admin-tools/make-JSON-tables.sh | |
| pip install pytest pexpect | |
| cd .. | |
| npm install | |
| - name: Install Mathics3 Django | |
| run: | | |
| # We will do full after release of the various Mathics3 Modules | |
| # python -m pip install -e .[full] | |
| python -m pip install -e . | |
| make develop | |
| - name: Test Mathics3 Django | |
| run: | | |
| make pytest gstest | |
| make doctest o="--exclude TextRecognize,PythonCProfileEvaluation" | |
| # make check |