Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
NOISSUE - Expand filters to check for test changes (#213)
Browse files Browse the repository at this point in the history
* Expand filters to check for test changes

This is because sometimes SDK tests failed to pass on push to main
because for PR we were only testing directory changes.

Signed-off-by: rodneyosodo <[email protected]>

* Fix failing SDK tests by adding authz

Signed-off-by: rodneyosodo <[email protected]>

* Rename pipeline to workflow

Signed-off-by: rodneyosodo <[email protected]>

* Rename push branch to main

Signed-off-by: rodneyosodo <[email protected]>

---------

Signed-off-by: rodneyosodo <[email protected]>
  • Loading branch information
rodneyosodo authored Dec 27, 2023
1 parent 160b70e commit e01a82e
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
base: main
filters: |
proto:
# - ".github/workflows/check-generated-files.yml"
- ".github/workflows/check-generated-files.yml"
- "auth.proto"
- "auth/*.pb.go"
- "pkg/messaging/message.proto"
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/swagger-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ name: Deploy GitHub Pages
on:
push:
branches:
- master
- main

jobs:
swagger-ui:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v4

- name: Swagger UI action
id: swagger-ui-action
uses: blokovi/swagger-ui-action@main
with:
dir: './api/openapi'
pattern: '*.yml'
debug: 'true'
dir: "./api/openapi"
pattern: "*.yml"
debug: "true"

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
Loading

0 comments on commit e01a82e

Please sign in to comment.