Skip to content

Commit 1780c56

Browse files
author
raghu nandan
committed
[test] temp changes for CI
1 parent 08f434a commit 1780c56

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ on:
77
pull_request:
88

99
jobs:
10-
check:
11-
name: Golang Check
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-go@v4
16-
with:
17-
go-version-file: go.mod
18-
cache: false
19-
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@v3
21-
with:
22-
version: v1.53
23-
args: --timeout=15m
10+
# check:
11+
# name: Golang Check
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v3
15+
# - uses: actions/setup-go@v4
16+
# with:
17+
# go-version-file: go.mod
18+
# cache: false
19+
# - name: golangci-lint
20+
# uses: golangci/golangci-lint-action@v3
21+
# with:
22+
# version: v1.53
23+
# args: --timeout=15m
2424

2525
unit-test:
2626
name: Unit test

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ CODEGEN_IMAGE := ghcr.io/slok/kube-code-generator:v1.27.0
4444
PORT := 9710
4545

4646
# CMDs
47-
UNIT_TEST_CMD := go test `go list ./... | grep -v /vendor/` -v
47+
UNIT_TEST_CMD := go test `go list ./... | grep -v /vendor/ | grep -v test/integration ` -v
4848
GO_GENERATE_CMD := go generate `go list ./... | grep -v /vendor/`
4949
GO_INTEGRATION_TEST_CMD := go test `go list ./... | grep test/integration` -v -tags='integration'
5050
GET_DEPS_CMD := dep ensure
@@ -92,9 +92,8 @@ run: docker-build
9292
image: deps-development
9393
docker build \
9494
-t $(SERVICE_NAME) \
95-
-t $(REPOSITORY):latest \
95+
-t $(REPOSITORY):test11 \
9696
-t $(REPOSITORY):$(COMMIT) \
97-
-t $(REPOSITORY):$(BRANCH) \
9897
-f $(APP_DIR)/Dockerfile \
9998
.
10099

0 commit comments

Comments
 (0)