Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump codecov/codecov-action from 3.1.4 to 4.5.0 #223

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
go-version: ">=1.20"
check-latest: true
- run: make integration-test
- uses: codecov/codecov-action@v3.1.4
- uses: codecov/codecov-action@v4.5.0
with:
file: ./coverage.txt
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ localnet: localnode
.PHONY: localnet

localnet-start: localnet
@docker-compose -f ./test/docker-compose.yml up -d
@docker compose -f ./test/docker-compose.yml up -d
.PHONY: localnet-start

localnet-stop:
@docker-compose -f ./test/docker-compose.yml down
@docker compose -f ./test/docker-compose.yml down
.PHONY: localnet-stop

integration-test:
Expand Down
3 changes: 2 additions & 1 deletion pkg/loadtest/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package loadtest

import (
"context"
"errors"
"fmt"
"net/http"
"sync"
Expand Down Expand Up @@ -294,7 +295,7 @@ func (c *Coordinator) receiveTestingUpdates() error {
}

case workerFailed:
return fmt.Errorf(msg.Error)
return errors.New(msg.Error)

default:
return fmt.Errorf("unexpected state from remote worker: %s", msg.State)
Expand Down
2 changes: 1 addition & 1 deletion test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ networks:
ipam:
driver: default
config:
- subnet: 192.168.10.0/16
- subnet: 192.168.0.0/16
Loading