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/branch/dubbo-2.7.x/graph/badge.svg?token=I9fctxnRWi )] ( https://app.codecov.io/gh/polarismesh/dubbo-java-polaris/tree/dubbo-3.2.x )
4+ [ ![ Testing] ( https://github.com/polarismesh/dubbo-java-polaris/actions/workflows/testing.yml/badge.svg?branch=dubbo-2.7.x )] ( 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 7272 <maven .gpg.plugin.version>3.0.1</maven .gpg.plugin.version>
7373 <maven .flatten.plugin.version>1.2.5</maven .flatten.plugin.version>
7474 <maven .clean.plugin.version>3.1.0</maven .clean.plugin.version>
75+ <jacoco-maven-plugin .version>0.8.12</jacoco-maven-plugin .version>
7576 <central .publishing.maven.plugin.version>0.8.0</central .publishing.maven.plugin.version>
7677
7778 <timestamp >${maven.build.timestamp}</timestamp >
166167 <suppressionsLocation >checkstyle/suppressions.xml</suppressionsLocation >
167168 </configuration >
168169 </plugin >
170+ <plugin >
171+ <groupId >org.jacoco</groupId >
172+ <artifactId >jacoco-maven-plugin</artifactId >
173+ <version >${jacoco-maven-plugin.version} </version >
174+ <executions >
175+ <execution >
176+ <id >prepare-agent</id >
177+ <goals >
178+ <goal >prepare-agent</goal >
179+ </goals >
180+ </execution >
181+ <execution >
182+ <id >report</id >
183+ <phase >test</phase >
184+ <goals >
185+ <goal >report</goal >
186+ </goals >
187+ </execution >
188+ </executions >
189+ </plugin >
169190 <plugin >
170191 <groupId >org.apache.maven.plugins</groupId >
171192 <artifactId >maven-surefire-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments