From 01e1db329ced43323654990828744d577cac4ba8 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 16 Feb 2021 21:16:18 +0100 Subject: Command: Add debug item list commands Signed-off-by: Sean Molenaar --- .github/workflows/api-integration-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github/workflows/api-integration-tests.yml') diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml index 3c0d057b3..809d63e4c 100644 --- a/.github/workflows/api-integration-tests.yml +++ b/.github/workflows/api-integration-tests.yml @@ -126,9 +126,17 @@ jobs: working-directory: ../server run: | ./occ news:feed:add 'admin' "https://nextcloud.com/blog/feed/" + ./occ news:feed:add 'admin' "https://github.com/nextcloud/news/releases.atom" ./occ news:feed:list 'admin' | grep 'nextcloud\.com' ./occ news:feed:list 'admin' | grep -F '"faviconLink": "https:\/\/nextcloud.com\/media\/screenshot-150x150.png"' + - name: Functional tests items + working-directory: ../server + run: | + ./occ news:item:list-feed "admin" $(./occ news:feed:list 'admin' | grep 'github\.com' -1 | head -1 | grep -oE '[0-9]*') --limit 200 | grep '15.3.2' + ./occ news:item:list-folder "admin" --limit 200 | grep '15.3.2' + ./occ news:item:list "admin" --limit 200 | grep '15.3.2' + - name: Functional tests opml working-directory: ../server run: ./occ news:opml:export 'admin' | grep 'nextcloud\.com' @@ -138,6 +146,7 @@ jobs: run: | ./occ news:folder:delete 'admin' $(./occ news:folder:list 'admin' | grep 'Something' -1 | head -1 | grep -oE '[0-9]*') ./occ news:feed:delete 'admin' $(./occ news:feed:list 'admin' | grep 'nextcloud\.com' -1 | head -1 | grep -oE '[0-9]*') + ./occ news:feed:delete 'admin' $(./occ news:feed:list 'admin' | grep 'github\.com' -1 | head -1 | grep -oE '[0-9]*') - name: Prep PHP tests working-directory: ../server/apps/news -- cgit v1.2.3