Skip to content

Commit

Permalink
feat: Handle go installation for WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 committed Sep 12, 2024
1 parent 9ee7130 commit a3941d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
# Extract Go to /usr/local
sudo tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz
# Extract Go to /usr/local
# Add Go to PATH
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
export PATH=$PATH:/usr/local/go/bin
source ~/.bashrc
# Verify Go installation
go version
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test-no-e2e: generate ## run tests excluding e2e

codecov-test: generate ## unit tests with coverage using the courtney tool
@mkdir -p coverage
@courtney/courtney -v -timeout 20m -o coverage/coverage.out -t="-skip=TestE2E|e2e" ./...
@courtney/courtney -v -o coverage/coverage.out -t="-skip=TestE2E|e2e" ./...
@go tool cover -html=coverage/coverage.out -o coverage/coverage.html

install-gofumpt: ## install gofumpt
Expand Down

0 comments on commit a3941d1

Please sign in to comment.