diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-02-16 21:17:10 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-02-20 13:57:09 +0100 |
commit | 4a107b3d53c4fe651ac704251b99e04a53cd587f (patch) | |
tree | 9700c89992f1ad739023d73fcd434250c323089e /.github/workflows/api-integration-tests.yml | |
parent | 01e1db329ced43323654990828744d577cac4ba8 (diff) |
General: Fix folder query
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to '.github/workflows/api-integration-tests.yml')
-rw-r--r-- | .github/workflows/api-integration-tests.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml index 809d63e4c..29df1d65d 100644 --- a/.github/workflows/api-integration-tests.yml +++ b/.github/workflows/api-integration-tests.yml @@ -133,9 +133,10 @@ jobs: - 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' + TAG=$(curl --silent "https://api.github.com/repos/nextcloud/news/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') + ./occ news:item:list-feed "admin" $(./occ news:feed:list 'admin' | grep 'github\.com' -1 | head -1 | grep -oE '[0-9]*') --limit 200 | grep "$TAG" + ./occ news:item:list-folder "admin" --limit 200 | grep "$TAG" + ./occ news:item:list "admin" --limit 200 | grep "$TAG" - name: Functional tests opml working-directory: ../server |