Skip to content

Commit

Permalink
chore: add schema validation cli command
Browse files Browse the repository at this point in the history
Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com>
  • Loading branch information
NYARAS committed Aug 25, 2021
1 parent 83b65b6 commit 855a19c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ env:
JWT_KEY: ${{ secrets.JWT_KEY }}
CLOUD_HEALTH_FHIRSTORE_ID: ${{ secrets.CLOUD_HEALTH_FHIRSTORE_ID }}

# Schema Registry CLI command version
CLI_VERSION: v0.0.1
# Schema Registry URL
REGISTRY_URL: ${{ secrets.TEST_SCHEMA_REGISTRY_URL }}

jobs:
lint_and_test:
strategy:
Expand Down Expand Up @@ -51,10 +56,12 @@ jobs:
go get github.com/fzipp/gocyclo
go get github.com/stretchr/testify/assert@v1.7.0
go get github.com/ory/go-acc
go install github.com/savannahghi/bewellcli@$CLI_VERSION
- name: Run lint and test
run: |
staticcheck ./...
bewellcli service validate-schema --name clinical --version $GITHUB_SHA --url ${{ secrets.SERVICE_GRAPHQL_URL }}
go fmt $(go list ./... | grep -v /vendor/)
go vet $(go list ./... | grep -v /vendor/)
golint -set_exit_status $(go list ./... | grep -v /vendor/)
Expand Down

0 comments on commit 855a19c

Please sign in to comment.