Skip to content

Commit 7771fcf

Browse files
committed
Add dependabot, code coverage
1 parent 7539421 commit 7771fcf

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@ jobs:
3232
server-password: CI_DEPLOY_PASSWORD
3333
- name: Build
3434
run: ./mvnw -B -q -ff -ntp verify
35+
- name: Generate code coverage
36+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
37+
run: ./mvnw -B -q -ff -ntp test
38+
- name: Publish code coverage
39+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
40+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
files: ./target/site/jacoco/jacoco.xml
44+
flags: unittests

0 commit comments

Comments
 (0)