summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-02-16 21:16:18 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-02-20 13:57:09 +0100
commit01e1db329ced43323654990828744d577cac4ba8 (patch)
tree76c1c710667abddcdc1390b81a0d35a7d34600f1 /.github
parent78bf8242b38607c114ba1982fde357adbbfc56f5 (diff)
Command: Add debug item list commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/api-integration-tests.yml9
1 files changed, 9 insertions, 0 deletions
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