From 0087c04532dcee238c886578a320a4dcb82b6f5e Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Wed, 11 Sep 2024 23:23:41 +0100 Subject: [PATCH] test: test in ci --- .github/workflows/test.yml | 4 ++-- Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 928ece2a..54ffe3c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,8 @@ env: REACT_APP_API_BASE_URL: http://localhost:8080 APP_SHA: ${{ github.sha }} APP_REF: ${{ github.ref }} - LD_LIBRARY_PATH: /tmp - PACT_GO_LIB_DOWNLOAD_PATH: /tmp + # LD_LIBRARY_PATH: /tmp + # PACT_GO_LIB_DOWNLOAD_PATH: /tmp LOG_LEVEL: debug COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 7f90ddbb..f08889cc 100755 --- a/Makefile +++ b/Makefile @@ -106,12 +106,12 @@ install: bin echo "--- 🐿 Installing Pact FFI dependencies" ./build/pact-go -l DEBUG install --libDir $(PACT_DOWNLOAD_DIR) -pact: clean install docker +pact: clean docker @echo "--- 🔨 Running Pact examples" go test -v -tags=consumer -count=1 github.com/pact-foundation/pact-go/v2/examples/... make publish go test -v -timeout=30s -tags=provider -count=1 github.com/pact-foundation/pact-go/v2/examples/... -pact_local: clean download_plugins install +pact_local: clean download_plugins @echo "--- 🔨 Running Pact examples" go test -v -tags=consumer -count=1 github.com/pact-foundation/pact-go/v2/examples/... SKIP_PUBLISH=true go test -v -timeout=30s -tags=provider -count=1 github.com/pact-foundation/pact-go/v2/examples/... @@ -124,7 +124,7 @@ release: echo "--- 🚀 Releasing it" "$(CURDIR)/scripts/release.sh" -test: deps install +test: deps @echo "--- ✅ Running tests" @if [ -f coverage.txt ]; then rm coverage.txt; fi; @echo "mode: count" > coverage.txt