Add interrupt handler (#102) #401
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 (ubuntu) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.13', '3.9', '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: | | |
| sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev asymptote | |
| python3 -m pip install --upgrade pip | |
| # We can comment out when next Mathics core and Mathics-scanner are released | |
| git clone https://github.com/Mathics3/mathics-scanner | |
| (cd mathics-scanner && pip install -e . && bash ./admin-tools/make-JSON-tables.sh) | |
| git clone https://github.com/Mathics3/mathics-core | |
| (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh && pip install -e .[full]) | |
| - name: Install mathicsscript | |
| run: | | |
| make | |
| - name: Test mathicsscript | |
| run: | | |
| pip3 install pytest | |
| make check |