Skip to content

Commit

Permalink
- Removing caching for post set up go step issue for CI workflow
Browse files Browse the repository at this point in the history
- Increasing timeout and verbosity for workflow logs
- Fixed fail fast issue for two jobs in workflow to fail independently and avoid caching race conditions
  • Loading branch information
anandmukul93 committed Feb 13, 2025
1 parent d0a7497 commit af3dba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
name: Run test cases (with consul${{ matrix.consul-ent-tag }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
go: [^1]
Expand All @@ -27,6 +28,7 @@ jobs:
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go }}
cache: false

- name: Install Consul${{ matrix.consul-ent-tag }}, Vault and Nomad for integration testing
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test:
# test-race runs the test suite.
test-race:
@echo "==> Testing ${NAME} (race)"
@go test -timeout=60s -race -tags="${GOTAGS}" ./... ${TESTARGS}
@go test -v -timeout=120s -race -tags="${GOTAGS}" ./... ${TESTARGS}
.PHONY: test-race

# _cleanup removes any previous binaries
Expand Down

0 comments on commit af3dba1

Please sign in to comment.