[JOH-52] Implement reset password rpc #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull request: Run unit test" | |
on: | |
pull_request: | |
branches: | |
- main | |
- beta | |
- dev | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
check-latest: true | |
- name: Download dependencies | |
run: go mod download | |
- name: Start Test Database Container | |
run: docker-compose -f docker-compose-unittest.yaml up -d | |
- name: Vet | |
run: | | |
go vet ./... | |
- name: Test | |
run: | | |
go test -v -coverpkg ./internal/... -coverprofile coverage.out -covermode count ./internal/... | |
go tool cover -func="./coverage.out" |