Skip to content

Commit

Permalink
ci: testing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivgonzalezc committed Feb 20, 2024
1 parent 333fd7b commit c40f456
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

- name: Run unit tests
run: |
cd api
go test -race -coverprofile=coverage.out -v
ls -alt
go tool cover -func="coverage.out"
- name: Go Lint
uses: golangci/golangci-lint-action@v3
Expand All @@ -40,7 +46,7 @@ jobs:

sonarqube:
# Sonar scan is not required for dependabot PRs
# needs: build
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit c40f456

Please sign in to comment.