Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- "31"
- "32"
- "33"
- "34"
services:
db:
image: ${{ matrix.db.image }}
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:
--database-name=${{ matrix.db.database }}

- name: Enable fulltextsearch app
run: php occ -n app:enable fulltextsearch
run: php occ -n app:enable -f fulltextsearch

- name: Enable fulltextsearch_sql app
run: php occ -n app:enable fulltextsearch_sql
Expand All @@ -115,7 +116,7 @@ jobs:
run: php occ -n fulltextsearch:test --platform_delay 1

- name: Enable files_fulltextsearch provider
run: php occ app:enable files_fulltextsearch
run: php occ app:enable -f files_fulltextsearch

- name: Identify test PDF document
run: >
Expand All @@ -126,7 +127,7 @@ jobs:

- name: Search for test PDF document
run: >
php occ fulltextsearch:search admin Nextcloud | grep -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"
php occ fulltextsearch:search admin Nextcloud | tee /dev/stderr | grep -q -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"

- name: Create test ISO-8859-1 document
run: echo -e "F\xFCr Testzwecke" | php occ files:put - /admin/files/iso-8859-1.txt
Expand All @@ -140,4 +141,4 @@ jobs:

- name: Search for test ISO-8859-1 document
run: >
php occ fulltextsearch:search admin testzwecke | grep -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"
php occ fulltextsearch:search admin testzwecke | tee /dev/stderr | grep -q -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Currently can not index office document formats, but does work with PDFs (if the
<bugs>https://github.com/jplitza/fulltextsearch_sql/issues</bugs>
<repository>https://github.com/jplitza/fulltextsearch_sql.git</repository>
<dependencies>
<nextcloud min-version="31" max-version="33"/>
<nextcloud min-version="31" max-version="34"/>
<database min-version="10.9">mysql</database>
<database min-version="17">pgsql</database>
</dependencies>
Expand Down