Skip to content

Commit

Permalink
chore: update firebase version (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muchogoc committed Mar 21, 2022
1 parent 8c7328d commit f8077e2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- uses: actions/checkout@v2
- uses: google-github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
export_default_credentials: true
project_id: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
export_default_credentials: true
- name: Install Go
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -64,6 +64,8 @@ jobs:
go get cloud.google.com/go/trace/apiv2
go get cloud.google.com/go/errorreporting
go get cloud.google.com/go/profiler
go get firebase.google.com/go/storage@v3.13.0+incompatible
go get github.com/tj/assert
go install github.com/savannahghi/bewellcli@$CLI_VERSION
- name: Run lint and test
Expand All @@ -82,7 +84,7 @@ jobs:
gocov convert coverage.out > coverage.json
gocov report coverage.json > coverage_report.txt
tail coverage_report.txt
- name: Install goveralls
env:
GO111MODULE: off
Expand All @@ -91,4 +93,3 @@ jobs:
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github

17 changes: 6 additions & 11 deletions deps.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
staging:
- depName: onboarding
depRootDomain: https://profile-staging.healthcloud.co.ke
depRootDomain: https://onboarding-testing.savannahghi.org
- depName: engagement
depRootDomain: https://engagement-staging.healthcloud.co.ke
depRootDomain: https://engagement-testing.savannahghi.org
testing:
- depName: onboarding
depRootDomain: https://profile-testing.healthcloud.co.ke
depRootDomain: https://onboarding-testing.savannahghi.org
- depName: engagement
depRootDomain: https://engagement-testing.healthcloud.co.ke
demo:
- depName: onboarding
depRootDomain: https://profile-demo.healthcloud.co.ke
- depName: engagement
depRootDomain: https://engagement-demo.healthcloud.co.ke
depRootDomain: https://engagement-testing.savannahghi.org
production:
- depName: onboarding
depRootDomain: https://profile-prod.healthcloud.co.ke
depRootDomain: https://onboarding-prod.savannahghi.org
- depName: engagement
depRootDomain: https://engagement-prod.healthcloud.co.ke
depRootDomain: https://engagement-prod.savannahghi.org
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ require (
github.com/segmentio/ksuid v1.0.4
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
github.com/tj/assert v0.0.3
github.com/vektah/gqlparser/v2 v2.1.0
go.opentelemetry.io/otel v1.0.0-RC1 // indirect
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef // indirect
golang.org/x/text v0.3.7 // indirect
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/tj/assert v0.0.3 h1:Df/BlaZ20mq6kuai7f5z2TvPFiwC3xaWJSDQNiIS3Rk=
github.com/tj/assert v0.0.3/go.mod h1:Ne6X72Q+TB1AteidzQncjw9PabbMp4PBMZ1k+vd1Pvk=
github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 h1:5u+EJUQiosu3JFX0XS0qTf5FznsMOzTjGqavBGuCbo0=
github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2/go.mod h1:4kyMkleCiLkgY6z8gK5BkI01ChBtxR0ro3I1ZDcGM3w=
github.com/ttacon/libphonenumber v1.2.1 h1:fzOfY5zUADkCkbIafAed11gL1sW+bJ26p6zWLBMElR4=
Expand Down Expand Up @@ -892,6 +894,7 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
Expand Down
3 changes: 2 additions & 1 deletion pkg/clinical/infrastructure/datastore/fhir/dataset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
fb "github.com/savannahghi/clinical/pkg/clinical/infrastructure/datastore/firebase"
"github.com/savannahghi/clinical/pkg/clinical/presentation/interactor"
"github.com/savannahghi/firebasetools"
"github.com/stretchr/testify/assert"
"github.com/tj/assert"
)

var testUsecase interactor.Usecases
Expand Down Expand Up @@ -110,6 +110,7 @@ func InitializeTestService(ctx context.Context) (interactor.Usecases, error) {
usecases := interactor.NewUsecasesInteractor(infrastructure)
return usecases, nil
}

func TestRepository_CreateDataset(t *testing.T) {
fhirRepo := fhir.NewFHIRRepository()
tests := []struct {
Expand Down

0 comments on commit f8077e2

Please sign in to comment.