-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix_unevaluated
- Loading branch information
Showing
422 changed files
with
32,640 additions
and
18,888 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,24 +9,24 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
- name: Install click, black and isort | ||
run: pip install 'click==8.0.4' 'black==22.3.0' 'isort==5.10.1' | ||
run: pip install 'click==8.0.4' 'black==23.12.1' 'isort==5.13.2' | ||
- name: Run isort --check . | ||
run: isort --check . | ||
- name: Run isort --check . | ||
- name: Run black --check . | ||
run: black --check . | ||
- name: If needed, commit black changes to the pull request | ||
if: failure() | ||
run: | | ||
black . | ||
git config --global user.name 'autoblack' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY | ||
git checkout $GITHUB_HEAD_REF | ||
git commit -am "fixup: Format Python code with Black" | ||
git push | ||
# - name: If needed, commit black changes to the pull request | ||
# if: failure() | ||
# run: | | ||
# black . | ||
# git config --global user.name 'autoblack' | ||
# git config --global user.email '[email protected]' | ||
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY | ||
# git checkout $GITHUB_HEAD_REF | ||
# git commit -am "fixup: Format Python code with Black" | ||
# git push |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
name: Mathics (OSX) | ||
name: Mathics3 (OSX) | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
branches: '**' | ||
|
||
jobs: | ||
build: | ||
env: | ||
LDFLAGS: "-L/usr/local/opt/llvm@11/lib" | ||
CPPFLAGS: "-I/usr/local/opt/llvm@11/include" | ||
LDFLAGS: "-L/usr/local/opt/llvm@14/lib" | ||
CPPFLAGS: "-I/usr/local/opt/llvm@14/include" | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
os: [macOS] | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
python-version: ['3.9', '3.10'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
- name: Install OS dependencies | ||
run: | | ||
brew install llvm@11 | ||
brew install llvm@14 tesseract | ||
python -m pip install --upgrade pip | ||
LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite | ||
# 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] | ||
- name: Install Mathics with full dependencies | ||
- name: Install Mathics3 with full Python dependencies | ||
run: | | ||
# 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] | ||
python -m pip install Mathics-Scanner | ||
make develop-full | ||
- name: Test Mathics | ||
- name: Test Mathics3 | ||
run: | | ||
make -j3 check |
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
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
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
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
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
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
Oops, something went wrong.