Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci-pr-checks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI - PR Checks

on:
push:
branches:
- main
pull_request:
branches:
- dev
Expand Down Expand Up @@ -47,6 +50,12 @@ jobs:
run: |
make test sidecar-test

- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: coverage.out # Make sure to use the same file name you chose for the "-coverprofile" in the "make test" step

- name: Run make build
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ test: test-unit test-e2e ## Run unit tests and e2e tests
.PHONY: test-unit
test-unit: download-tokenizer install-dependencies ## Run unit tests
@printf "\033[33;1m==== Running Unit Tests ====\033[0m\n"
go test -ldflags="$(LDFLAGS)" -v $$(echo $$(go list ./... | grep -v /test/))
go test -ldflags="$(LDFLAGS)" -cover -coverprofile=coverage.out -v $$(echo $$(go list ./... | grep -v /test/))

.PHONY: test-integration
test-integration: download-tokenizer install-dependencies ## Run integration tests
Expand Down