File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 3434 needs : lint
3535 strategy :
3636 matrix : # using macos-13 because pyenchant doesn't work on macos-latest (macos 14, arm64 architecture)
37- os : [macos-13, windows-latest, ubuntu-latest]
37+ os : [macos-latest] # macos- 13, windows-latest, ubuntu-latest]
3838 python-version : ['3.9', '3.12']
3939 runs-on : ${{ matrix.os }}
4040 steps :
6464 brew update-reset
6565 brew install enchant
6666 fi
67+ - name Set enviornment variable for pyenchant on macOS ARM64
68+ if : ${{ matrix.os != "macos-13" }}
69+ run : |
70+ echo "PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib" >> $GITHUB_ENV
6771 - name : Install dependencies
6872 run : |
6973 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 6161 sudo apt-get update
6262 sudo apt-get install enchant-2
6363 elif [ "$RUNNER_OS" == "macOS" ]; then
64+ echo "runner is ${{ matrix.os }}"
6465 brew update-reset
6566 brew install enchant
6667 fi
You can’t perform that action at this time.
0 commit comments