Skip to content

Commit

Permalink
ci: install sudachidict packages on sudachipy update
Browse files Browse the repository at this point in the history
  • Loading branch information
rokm committed Dec 18, 2023
1 parent f8aaa39 commit 23cd820
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ jobs:
set -e
echo '-r requirements-test.txt' >> requirements-test-libraries.txt
if grep -q pyqtgraph requirements-test-libraries.txt ; then echo PyQt5 >> requirements-test-libraries.txt ;fi
# NOTE: specify minimum allowed version for sudachidict-* packages, to prevent pip from installing invalid
# SudachiDict_full-0.0.0-py3-none-any.whl due to --prefer-binary switch used with pip install...
if grep -q sudachipy requirements-test-libraries.txt; then
echo "sudachidict-small>=20230927" >> requirements-test-libraries.txt;
echo "sudachidict-core>=20230927" >> requirements-test-libraries.txt;
echo "sudachidict-full>=20230927" >> requirements-test-libraries.txt;
fi
cat requirements-test-libraries.txt
- name: Set up .NET Core for pythonnet tests
Expand Down

0 comments on commit 23cd820

Please sign in to comment.