This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree 4 files changed +18
-11
lines changed
4 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 90
90
91
91
# Requires installation of pytest and pytest-cov
92
92
- name : Test with pytest
93
- run : poetry run pytest --doctest-modules --cov=package_parser --cov-report=html
94
-
95
- - name : Upload test coverage
96
- if : ${{ github.actor != 'dependabot[bot]' }}
97
- uses : actions/upload-artifact@v2
98
- with :
99
- name : Test coverage
100
- path : package-parser/htmlcov
93
+ run : poetry run pytest --doctest-modules
Original file line number Diff line number Diff line change 43
43
uses : gradle/wrapper-validation-action@v1
44
44
45
45
- name : Build with Gradle
46
- run : ./gradlew build
46
+ run : ./gradlew check koverMergedHtmlReport
47
47
48
48
- name : Upload test report
49
49
if : ${{ failure() }}
53
53
path : api-editor/server/build/reports
54
54
if-no-files-found : ignore
55
55
56
+ - name : Upload test coverage
57
+ if : ${{ github.actor != 'dependabot[bot]' }}
58
+ uses : actions/upload-artifact@v2
59
+ with :
60
+ name : api-editor test coverage
61
+ path : api-editor/build/reports/kover/html/
62
+
56
63
build-package-parser :
57
64
runs-on : ubuntu-latest
58
65
defaults :
@@ -101,5 +108,5 @@ jobs:
101
108
if : ${{ github.actor != 'dependabot[bot]' }}
102
109
uses : actions/upload-artifact@v2
103
110
with :
104
- name : Test coverage
111
+ name : package-parser test coverage
105
112
path : package-parser/htmlcov
Original file line number Diff line number Diff line change 2
2
.settings /
3
3
.project
4
4
5
+ # IntelliJ
6
+ .idea /
7
+
5
8
# Gradle
6
9
.gradle /
7
10
Original file line number Diff line number Diff line change 1
1
// Plugins -------------------------------------------------------------------------------------------------------------
2
2
3
3
plugins {
4
- id(" org.jetbrains.kotlinx.kover" ) version " 0.4.4 "
4
+ id(" org.jetbrains.kotlinx.kover" ) version " 0.5.0 "
5
5
idea
6
6
7
7
// Pin versions for subprojects
@@ -22,6 +22,10 @@ idea {
22
22
}
23
23
}
24
24
25
+ kover {
26
+ coverageEngine.set(kotlinx.kover.api.CoverageEngine .INTELLIJ )
27
+ }
28
+
25
29
// Subprojects ---------------------------------------------------------------------------------------------------------
26
30
27
31
subprojects {
You can’t perform that action at this time.
0 commit comments