Roll in Python 3.14 and out 3.10 #118
Workflow file for this run
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: mathicsscript (MacOS) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| os: [macOS] | |
| python-version: ['3.12', '3.13', '3.14'] | |
| 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: | | |
| brew install asymptote | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install setuptools | |
| # We can comment out after next Mathics3-Scanner release | |
| git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git | |
| cd Mathics3-scanner/ | |
| pip install --no-build-isolation -e . | |
| bash -x admin-tools/make-JSON-tables.sh | |
| cd .. | |
| # We can comment out after next Mathics3-pygments release | |
| python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments | |
| # We can comment out after next mathics-core release | |
| git clone --depth 1 https://github.com/Mathics3/mathics-core.git | |
| cd mathics-core/ | |
| pip install --no-build-isolation -e . | |
| bash -x admin-tools/make-JSON-tables.sh | |
| cd .. | |
| - name: Install mathicsscript | |
| run: | | |
| make | |
| - name: Test mathicsscript | |
| run: | | |
| pip3 install -r requirements-dev.txt | |
| make check |