File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run code coverage
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ pull_request :
8+ branches :
9+ - ' main'
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
17+
18+ - name : Setup Java
19+ uses : actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
20+ with :
21+ java-version : ' 17'
22+ distribution : ' corretto'
23+
24+ - name : Run test and generate kover report
25+ run : ./gradlew koverXmlReport
26+
27+ - name : Upload Test Report
28+ uses : codecov/codecov-action@v5
29+ with :
30+ name : report
31+ files : build/reports/kover/report.xml
32+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1+ coverage :
2+ status :
3+ project :
4+ default :
5+ target : auto
6+ threshold : 0.1%
7+ patch :
8+ default :
9+ target : auto
10+ threshold : 0%
11+ comment :
12+ layout : diff
13+ behavior : default
14+ require_changes : false
You can’t perform that action at this time.
0 commit comments