Project adminstration stuff (#112) #104
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 (OSX) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| os: [macOS] | |
| python-version: ['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 dependencies | |
| run: | | |
| brew install asymptote | |
| python3 -m pip install --upgrade pip | |
| # We can comment out after next Mathics3-Scanner release | |
| # python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] | |
| 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 | |
| cd .. | |
| - name: Install mathicsscript | |
| run: | | |
| make | |
| - name: Test mathicsscript | |
| run: | | |
| pip3 install -r requirements-dev.txt | |
| make check |