File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 6262 restore-keys : |
6363 ${{ runner.os }}-maven-
6464 - name : Test with Maven
65- run : mvn -B test --file pom.xml
65+ run : mvn clean test -B -U --file pom.xml
66+ - name : Upload coverage reports to Codecov
67+ uses : codecov/codecov-action@v4
68+ env :
69+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11# dubbo-java-polaris
22
3+ [ ![ codecov] ( https://codecov.io/gh/polarismesh/dubbo-java-polaris/graph/badge.svg?token=I9fctxnRWi )] ( https://codecov.io/gh/polarismesh/dubbo-java-polaris )
4+ [ ![ Testing] ( https://github.com/polarismesh/dubbo-java-polaris/actions/workflows/testing.yml/badge.svg )] ( https://github.com/polarismesh/dubbo-java-polaris/actions/workflows/testing.yml )
5+
36## 介绍
47
58dubbo-java-polaris 是 [ Apache Dubbo] ( https://github.com/apache/dubbo ) 框架的扩展,便于使用dubbo框架开发的应用可以接入并使用北极星的各部分功能。
Original file line number Diff line number Diff line change 7070 <maven .gpg.plugin.version>3.0.1</maven .gpg.plugin.version>
7171 <maven .flatten.plugin.version>1.2.5</maven .flatten.plugin.version>
7272 <maven .clean.plugin.version>3.1.0</maven .clean.plugin.version>
73+ <jacoco-maven-plugin .version>0.8.12</jacoco-maven-plugin .version>
7374 <central .publishing.maven.plugin.version>0.8.0</central .publishing.maven.plugin.version>
7475
7576 <timestamp >${maven.build.timestamp}</timestamp >
164165 <suppressionsLocation >checkstyle/suppressions.xml</suppressionsLocation >
165166 </configuration >
166167 </plugin >
168+ <plugin >
169+ <groupId >org.jacoco</groupId >
170+ <artifactId >jacoco-maven-plugin</artifactId >
171+ <version >${jacoco-maven-plugin.version} </version >
172+ <executions >
173+ <execution >
174+ <id >prepare-agent</id >
175+ <goals >
176+ <goal >prepare-agent</goal >
177+ </goals >
178+ </execution >
179+ <execution >
180+ <id >report</id >
181+ <phase >test</phase >
182+ <goals >
183+ <goal >report</goal >
184+ </goals >
185+ </execution >
186+ </executions >
187+ </plugin >
167188 <plugin >
168189 <groupId >org.apache.maven.plugins</groupId >
169190 <artifactId >maven-surefire-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments