Track mathics-core changes #132
This file contains 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: Pymathics.natlang (ubuntu) | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: '**' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
# python-version: ['3.9', '3.10'] # Figure out what's wrong here. | |
python-version: ['3.11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
# python -m pip install --upgrade pip | |
python -m pip install pytest | |
# Can comment out when next Mathics3 core and Mathics-scanner are released | |
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] | |
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full] | |
git clone --branch fixes_for_the_new_module_organization https://github.com/Mathics3/mathics-core | |
(cd mathics-core && pip3 install -e .[full]) | |
(cd mathics-core && bash ./admin-tools/make-op-tables.sh) | |
# python -m pip install Mathics3[full] | |
- name: install pymathics natlang | |
run: | | |
make develop | |
- name: Test natlang | |
run: | | |
make -j3 check |