Skip to content

Commit 1009267

Browse files
committed
fix(ci): Also match new output format in Nextcloud 32
1 parent 8a741d9 commit 1009267

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ jobs:
114114
run: php occ fulltextsearch:document:index admin files "$TEST_DOC"
115115

116116
- name: Search for test PDF document
117-
run: php occ fulltextsearch:search admin Nextcloud | grep -- "^ - $TEST_DOC score:"
117+
run: >
118+
php occ fulltextsearch:search admin Nextcloud | grep -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"
118119
119120
- name: Create test ISO-8859-1 document
120121
run: echo -e "F\xFCr Testzwecke" | php occ files:put - /admin/files/iso-8859-1.txt
@@ -127,4 +128,5 @@ jobs:
127128
run: php occ fulltextsearch:document:index admin files "$TEST_DOC"
128129

129130
- name: Search for test ISO-8859-1 document
130-
run: php occ fulltextsearch:search admin Testzwecke | grep -- "^ - $TEST_DOC score:"
131+
run: >
132+
php occ fulltextsearch:search admin Testzwecke | grep -e "^ - $TEST_DOC score:" -e "^ *\* id: $TEST_DOC"

0 commit comments

Comments
 (0)