Skip to content

Commit

Permalink
Merge pull request #115 from nextcloud/fix/ci/test-all-server-apps
Browse files Browse the repository at this point in the history
fix(ci): Test against all server apps
  • Loading branch information
nickvergessen authored Apr 9, 2024
2 parents 5cbbceb + 026cd4c commit 570cc3e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/test-repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,14 @@ jobs:
working-directory: temp-repository/
run: ../generate-spec

- name: Generate OpenAPI - Core
if: matrix.repositories == 'nextcloud/server'
working-directory: temp-repository/
run: ../generate-spec 'core' 'core/openapi.json'

- name: Generate OpenAPI - Server apps
- name: Generate OpenAPI - Server
if: matrix.repositories == 'nextcloud/server'
working-directory: temp-repository/
run: |
for path in apps/*/openapi.json; do
../generate-spec "$(dirname "$path")" "$path" || exit 1
for path in core apps/*; do
if [ ! -f "$path/.noopenapi" ]; then
../generate-spec "$path" "$path/openapi.json" || exit 1
fi
done
- name: Show changes of the API for assistance
Expand Down

0 comments on commit 570cc3e

Please sign in to comment.