This commit is contained in:
Max 2023-02-01 18:27:28 +08:00
parent b52a79778a
commit de0506496d
3 changed files with 0 additions and 41 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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: