Skip to content

Commit bcef083

Browse files
committed
patch coverage
1 parent 0827ee7 commit bcef083

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.github/workflows/coverage.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,26 @@ jobs:
3939
- name: Build and test json-smart with coverage
4040
run: cd json-smart && ./mvnw -q clean test
4141

42-
- name: Upload coverage to Coveralls
42+
- name: Upload accessors-smart coverage to Coveralls
4343
uses: coverallsapp/github-action@v2
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
46-
path-to-lcov: |
47-
accessors-smart/target/site/jacoco/jacoco.xml
48-
json-smart/target/site/jacoco/jacoco.xml
49-
format: jacoco
46+
file: accessors-smart/target/site/jacoco/jacoco.xml
47+
format: jacoco
48+
flag-name: accessors-smart
49+
parallel: true
50+
51+
- name: Upload json-smart coverage to Coveralls
52+
uses: coverallsapp/github-action@v2
53+
with:
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
file: json-smart/target/site/jacoco/jacoco.xml
56+
format: jacoco
57+
flag-name: json-smart
58+
parallel: true
59+
60+
- name: Finish parallel build
61+
uses: coverallsapp/github-action@v2
62+
with:
63+
github-token: ${{ secrets.GITHUB_TOKEN }}
64+
parallel-finished: true

0 commit comments

Comments
 (0)