[_]
This commit is contained in:
parent
b52a79778a
commit
de0506496d
3 changed files with 0 additions and 41 deletions
6
.github/workflows/pr-test.yml
vendored
6
.github/workflows/pr-test.yml
vendored
|
|
@ -229,12 +229,6 @@ jobs:
|
|||
run: |
|
||||
make test
|
||||
|
||||
- name: Run widgets test
|
||||
env:
|
||||
YAO_ROOT: ${{ env.DEMO_APP }}
|
||||
run: |
|
||||
make test-widgets
|
||||
|
||||
- name: Codecov Report
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
|
|
|||
6
.github/workflows/unit-test.yml
vendored
6
.github/workflows/unit-test.yml
vendored
|
|
@ -184,12 +184,6 @@ jobs:
|
|||
run: |
|
||||
make test
|
||||
|
||||
- name: Run widgets test
|
||||
env:
|
||||
YAO_ROOT: ${{ env.DEMO_APP }}
|
||||
run: |
|
||||
make test-widgets
|
||||
|
||||
- name: Codecov Report
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
|
|
|||
29
Makefile
29
Makefile
|
|
@ -40,35 +40,6 @@ test:
|
|||
fi; \
|
||||
done
|
||||
|
||||
# # Unit Test
|
||||
# .PHONY: test-widgets
|
||||
# test-widgets:
|
||||
# echo "mode: count" > coverage.out
|
||||
# for d in $(TESTWIDGETS); do \
|
||||
# $(GO) test -tags $(TESTTAGS) -v -covermode=count -coverprofile=profile.out -coverpkg=$$(echo $$d | sed "s/\/test$$//g") $$d > tmp.out; \
|
||||
# cat tmp.out; \
|
||||
# if grep -q "^--- FAIL" tmp.out; then \
|
||||
# rm tmp.out; \
|
||||
# exit 1; \
|
||||
# elif grep -q "build failed" tmp.out; then \
|
||||
# rm tmp.out; \
|
||||
# exit 1; \
|
||||
# elif grep -q "setup failed" tmp.out; then \
|
||||
# rm tmp.out; \
|
||||
# exit 1; \
|
||||
# elif grep -q "runtime error" tmp.out; then \
|
||||
# rm tmp.out; \
|
||||
# exit 1; \
|
||||
# fi; \
|
||||
# if [ -f profile.out ]; then \
|
||||
# cat profile.out | grep -v "mode:" >> coverage.out; \
|
||||
# rm profile.out; \
|
||||
# fi; \
|
||||
# done
|
||||
|
||||
# .PHONY: fmt
|
||||
# fmt:
|
||||
# $(GOFMT) -w $(GOFILES)
|
||||
|
||||
.PHONY: fmt-check
|
||||
fmt-check:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue