Adjust to using current Mathics3-Scanner API (#110) #96
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.10', '3.11', '3.12'] | |
| 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 install asymptote | |
| python3 -m pip install --upgrade pip | |
| # We can comment out after next Mathics-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/mathics-scanner.git | |
| cd mathics-scanner/ | |
| 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 |