Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/go-dependencies-baad23…
Browse files Browse the repository at this point in the history
…cb1e
  • Loading branch information
natalieparellano authored Feb 1, 2024
2 parents 9923b13 + 91e775c commit 1ec4b1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
go-version: '1.20'
- name: Test
run: make test
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
test-and-build-windows:
runs-on: windows-2019
steps:
Expand All @@ -29,3 +33,8 @@ jobs:
go-version: '1.20'
- name: Test
run: make test
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}

5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ else
endif

test: layer/bcdhive_generated.go format lint
$(GOCMD) test -parallel=1 -count=1 -v ./...
$(GOCMD) test -parallel=1 -count=1 -coverprofile=coverage.out -v ./...

codecov: test
$(GOCMD) tool cover -html=coverage.out

tidy:
$(GOCMD) mod tidy && cd tools && $(GOCMD) mod tidy -compat=1.17 && cd bcdhive_generator && $(GOCMD) mod tidy

0 comments on commit 1ec4b1a

Please sign in to comment.