Skip to content

Commit

Permalink
chore: Install jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
lordrip committed Aug 19, 2024
1 parent bf32635 commit bf06625
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ codecov:
flags:
ui:
paths:
- packages/ui
- packages/ui/coverage
catalog-generator:
paths:
- packages/catalog-generator
- packages/catalog-generator/target/jacoco
2 changes: 1 addition & 1 deletion packages/catalog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"build": "yarn clean && yarn build:mvn && yarn build:default:catalog && yarn build:ts",
"build:mvn": "./mvnw clean install",
"build:mvn": "./mvnw clean install verify",
"build:default:catalog": "./mvnw package; java -jar ./target/catalog-generator-0.0.1-SNAPSHOT.jar -o ./dist/camel-catalog -n \"Default Kaoto catalog\"",
"build:ts": "node --loader ts-node/esm ./scripts/json-schema-to-typescript.mts",
"lint": "yarn eslint \"scripts/**/*.{mts,ts}\"",
Expand Down
20 changes: 20 additions & 0 deletions packages/catalog-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,26 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit bf06625

Please sign in to comment.