diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eb33f1..02b7e3d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,7 @@ jobs: - "31" - "32" - "33" + - "34" services: db: image: ${{ matrix.db.image }} @@ -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 @@ -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: > @@ -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 @@ -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" \ No newline at end of file + php occ fulltextsearch:search admin testzwecke | tee /dev/stderr | grep -q -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC" \ No newline at end of file diff --git a/appinfo/info.xml b/appinfo/info.xml index f6fdb59..75a2e4b 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -32,7 +32,7 @@ Currently can not index office document formats, but does work with PDFs (if the https://github.com/jplitza/fulltextsearch_sql/issues https://github.com/jplitza/fulltextsearch_sql.git - + mysql pgsql