File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,11 @@ jobs:
2626
2727 - name : Compile Project
2828 run : |
29- ./gradlew generateHeaderFilesFromJavaWrapper
30- ./gradlew build
29+ ./gradlew generateHeaderFilesFromJavaWrapper build
3130
3231 - name : create unit coverage
3332 run : |
34- ./gradlew generateHeaderFilesFromJavaWrapper createCodeCoverageReport
33+ ./gradlew createCodeCoverageReport
3534
3635 - name : Upload coverage to Codecov
3736 uses : codecov/codecov-action@v2
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ task copyBuildKiwixSoFile(type: Copy) {
283283
284284task createCodeCoverageReport (type : Exec ) {
285285 workingDir " ${ projectDir} /src/test/"
286- commandLine ' sh' , ' -c' , " bash 'compile_and_run_test.sh' ${ buildDir} /libs/*app *.jar $buildDir "
286+ commandLine ' sh' , ' -c' , " bash 'compile_and_run_test.sh' ${ buildDir} /libs/*lib *.jar $buildDir "
287287}
288288
289289task checkCurrentJavaVersion () {
Original file line number Diff line number Diff line change 22import java .util .*;
33import org .junit .Test ;
44import static org .junit .Assert .*;
5- import org .kiwix .libkiwix .JNIKiwixException ;
6- import org .kiwix .libkiwix .Library ;
7- import org .kiwix .libkiwix .Manager ;
8- import org .kiwix .libzim .Archive ;
9- import org .kiwix .libzim .DirectAccessInfo ;
10- import org .kiwix .libzim .ZimFileFormatException ;
5+ import org .kiwix .libkiwix .*;
6+ import org .kiwix .libzim .*;
117
128public class test {
139 static {
You can’t perform that action at this time.
0 commit comments