move package test/ => integration/

This commit is contained in:
Roy Crihfield 2023-05-26 14:12:01 +08:00
parent 026dafcfc9
commit c6040dd514
7 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: "Build and run tests" - name: "Build and run tests"
run: | run: |
go install github.com/onsi/ginkgo/v2/ginkgo go install github.com/onsi/ginkgo/v2/ginkgo
ginkgo -v -r --skipPackage=./test ginkgo -v -r --skipPackage=./integration
integration-test: integration-test:
name: "Run integration tests" name: "Run integration tests"
@ -55,7 +55,7 @@ jobs:
ETH_HTTP_PATH: "${{ env.ETH_HTTP_PATH }}" ETH_HTTP_PATH: "${{ env.ETH_HTTP_PATH }}"
run: | run: |
go install github.com/onsi/ginkgo/v2/ginkgo go install github.com/onsi/ginkgo/v2/ginkgo
ginkgo -v --label-filter '!proxy' -r ./test ginkgo -v --label-filter '!proxy' -r ./integration
integration-test-eth-proxy: integration-test-eth-proxy:
name: "Run direct-proxy integration tests" name: "Run direct-proxy integration tests"
@ -91,4 +91,4 @@ jobs:
ETH_HTTP_PATH: "${{ env.ETH_HTTP_PATH }}" ETH_HTTP_PATH: "${{ env.ETH_HTTP_PATH }}"
run: | run: |
go install github.com/onsi/ginkgo/v2/ginkgo go install github.com/onsi/ginkgo/v2/ginkgo
ginkgo -v --label-filter 'proxy' -r ./test ginkgo -v --label-filter 'proxy' -r ./integration

View File

@ -10,8 +10,8 @@ import (
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/cerc-io/ipld-eth-server/v5/integration"
"github.com/cerc-io/ipld-eth-server/v5/pkg/eth" "github.com/cerc-io/ipld-eth-server/v5/pkg/eth"
integration "github.com/cerc-io/ipld-eth-server/v5/test"
) )
var _ = Describe("Direct proxy integration test", Label("proxy"), func() { var _ = Describe("Direct proxy integration test", Label("proxy"), func() {

View File

@ -14,8 +14,8 @@ import (
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
integration "github.com/cerc-io/ipld-eth-server/v5/integration"
"github.com/cerc-io/ipld-eth-server/v5/pkg/eth" "github.com/cerc-io/ipld-eth-server/v5/pkg/eth"
integration "github.com/cerc-io/ipld-eth-server/v5/test"
) )
var ( var (

View File

@ -10,7 +10,7 @@ import (
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
integration "github.com/cerc-io/ipld-eth-server/v5/test" integration "github.com/cerc-io/ipld-eth-server/v5/integration"
) )
var ( var (