1- name : Build
1+ name : Test Aop,asm,common
22
33on : [push, pull_request, workflow_dispatch]
44
@@ -12,37 +12,18 @@ jobs:
1212 run : |
1313 cd asm && mkdir build && cd build && cmake .. && make
1414 ctest -T Test
15- ctest -T Coverage
1615 - name : test asm-go
1716 run : |
1817 cd asm
19- go test -v -coverprofile cover.out .
18+ go test -v .
2019 - name : api test
2120 run : |
2221 cd common
23- go test -v -coverprofile cover.out .
22+ go test -v .
2423 - name : aop test
2524 run : |
2625 cd aop
27- go test -v -coverprofile cover.out .
28- - name : libs test
29- run : |
30- cd libs
31- for dir in * ; do cd $dir; go mod tidy; go test -v; cd ..; done
32-
33- # - uses: actions/checkout@master
34- # - uses: codecov/codecov-action@v2
35-
36- - name : compile test mux apps
37- run : |
38- cd testapps/mux
39- GOOS=linux GOARCH=amd64 go mod tidy
40- GOOS=linux GOARCH=amd64 go build -o testapp
41- - name : compile test echo apps
42- run : |
43- cd testapps/echo
44- GOOS=linux GOARCH=amd64 go mod tidy
45- GOOS=linux GOARCH=amd64 go build -o testapp
26+ go test -v .
4627
4728 go13 :
4829 runs-on : ubuntu-latest
6849 cd aop
6950 go test -v -coverprofile cover.out .
7051
71- - name : libs test
72- run : |
73- cd libs
74- for dir in * ; do cd $dir; go mod tidy; go test -v; cd ..; done
75-
7652 - name : Upload coverage to Codecov
7753 uses : codecov/codecov-action@v2
7854 # with:
79- # files:*.gcov,cover.out
80-
81- - name : compile test mux apps
82- run : |
83- cd testapps/mux
84- GOOS=linux GOARCH=amd64 go mod tidy
85- GOOS=linux GOARCH=amd64 go build -o testapp
86- - name : compile test echo apps
87- run : |
88- cd testapps/echo
89- GOOS=linux GOARCH=amd64 go mod tidy
90- GOOS=linux GOARCH=amd64 go build -o testapp
55+ # files:*.gcov,cover.out
0 commit comments