Skip to content

Commit

Permalink
fix: remove old integrate test
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Sep 26, 2021
1 parent 1397e8b commit 4314ba8
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 2,385 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,10 @@ jobs:
run: |
make verify
# This step only runs when the event type is a pull_request
- name: Integrate Test
if: ${{ github.event_name == 'pull_request' }}
run: |
chmod +x integrate_test.sh && [[ -n "${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n "${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]] && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}} ${{github.base_ref}}
# This step only runs when the event type is a push
- name: Integrate Test
if: ${{ github.event_name == 'push' }}
run: |
chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY $GITHUB_SHA $GITHUB_BASE_REF
- name: Post Coverage
run: bash <(curl -s https://codecov.io/bash)

Expand Down
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,10 @@ prepareLic:
$(GO_LICENSE_CHECKER) -version || (wget https://github.com/lsm-dev/license-header-checker/releases/download/v1.2.0/$(GO_LICENSE_CHECKER_DIR).zip -O $(GO_LICENSE_CHECKER_DIR).zip && unzip -o $(GO_LICENSE_CHECKER_DIR).zip && mkdir -p $(GO_PATH)/bin/ && cp $(GO_LICENSE_CHECKER_DIR)/64bit/license-header-checker $(GO_PATH)/bin/)
ls /tmp/tools/license/license.txt || wget -P $(LICENSE_DIR) https://github.com/dubbogo/resources/raw/master/tools/license/license.txt

prepareZk:
ls $(ZK_JAR) || (mkdir -p $(ZK_JAR_PATH)&& wget -P $(ZK_JAR_PATH) https://github.com/dubbogo/resources/raw/master/zookeeper-4unitest/contrib/fatjar/${ZK_JAR_NAME})
@for i in $(ZK_TEST_LIST); do \
mkdir -p $$i$(ZK_FATJAR_BASE);\
cp ${ZK_JAR} $$i$(ZK_FATJAR_BASE);\
done

prepare: prepareZk prepareLic
prepare: prepareLic

.PHONE: test
test: clean prepareZk
test: clean
$(GO_TEST) ./... -coverprofile=coverage.txt -covermode=atomic

deps: prepare
Expand Down
42 changes: 0 additions & 42 deletions test/integrate/dubbo/go-client/Dockerfile

This file was deleted.

67 changes: 0 additions & 67 deletions test/integrate/dubbo/go-client/client.go

This file was deleted.

59 changes: 0 additions & 59 deletions test/integrate/dubbo/go-client/client.yml

This file was deleted.

10 changes: 0 additions & 10 deletions test/integrate/dubbo/go-client/go.mod

This file was deleted.

Loading

0 comments on commit 4314ba8

Please sign in to comment.