Skip to content

Commit

Permalink
[test] temp changes for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
raghu-nandan-bs committed Nov 14, 2023
1 parent 08f434a commit 1780c56
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ on:
pull_request:

jobs:
check:
name: Golang Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
args: --timeout=15m
# check:
# name: Golang Check
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v4
# with:
# go-version-file: go.mod
# cache: false
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: v1.53
# args: --timeout=15m

unit-test:
name: Unit test
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ CODEGEN_IMAGE := ghcr.io/slok/kube-code-generator:v1.27.0
PORT := 9710

# CMDs
UNIT_TEST_CMD := go test `go list ./... | grep -v /vendor/` -v
UNIT_TEST_CMD := go test `go list ./... | grep -v /vendor/ | grep -v test/integration ` -v
GO_GENERATE_CMD := go generate `go list ./... | grep -v /vendor/`
GO_INTEGRATION_TEST_CMD := go test `go list ./... | grep test/integration` -v -tags='integration'
GET_DEPS_CMD := dep ensure
Expand Down Expand Up @@ -92,9 +92,8 @@ run: docker-build
image: deps-development
docker build \
-t $(SERVICE_NAME) \
-t $(REPOSITORY):latest \
-t $(REPOSITORY):test11 \
-t $(REPOSITORY):$(COMMIT) \
-t $(REPOSITORY):$(BRANCH) \
-f $(APP_DIR)/Dockerfile \
.

Expand Down

0 comments on commit 1780c56

Please sign in to comment.