From 521734246e1aff3ebedc3a5659a60323c6519ce3 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Mon, 18 Oct 2021 15:31:32 +0700 Subject: [PATCH] ci: abandon test for now --- .github/workflows/api.yml | 15 ++++++++------- .github/workflows/pr.yml | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 84d4876..b70e5db 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -54,13 +54,14 @@ jobs: - name: Build run: go build main.go - - name: Run test & coverage - run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... - env: - ENV: development - PORT: 5000 - DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2 - REDIS_URL: redis://@redis:6379 + # Remove test for now + # - name: Run test & coverage + # run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... + # env: + # ENV: development + # PORT: 5000 + # DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2 + # REDIS_URL: redis://@redis:6379 - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6c7fa9c..91da995 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -108,13 +108,14 @@ jobs: - name: Build run: go build main.go - - name: Run test & coverage - run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... - env: - ENV: development - PORT: 5000 - DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2 - REDIS_URL: redis://@redis:6379 + # Remove test for now + # - name: Run test & coverage + # run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... + # env: + # ENV: development + # PORT: 5000 + # DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2 + # REDIS_URL: redis://@redis:6379 - name: Initialize CodeQL uses: github/codeql-action/init@v1