mirror of https://github.com/alibaba/fastjson2.git
chore(ci): improve ci settings of codecov
This commit is contained in:
parent
8ec823112e
commit
a6667802e5
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
java-version: ${{ matrix.java }}
|
||||
cache: maven
|
||||
- name: Build with Maven and generate code coverage
|
||||
run: ./mvnw -V --no-transfer-progress -Pgen-javadoc -Pgen-dokka -Pgen-code-cov clean package
|
||||
run: ./mvnw -V --no-transfer-progress -Pgen-javadoc -Pgen-dokka clean package
|
||||
# https://github.com/marketplace/actions/codecov
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
|
|
|||
7
pom.xml
7
pom.xml
|
|
@ -919,6 +919,13 @@
|
|||
</profile>
|
||||
<profile>
|
||||
<id>gen-code-cov</id>
|
||||
<activation>
|
||||
<property>
|
||||
<!-- https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables -->
|
||||
<name>env.CI</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
|||
Loading…
Reference in New Issue