mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-14 01:25:25 -04:00
commit
9510dd308f
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 11
|
||||
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -13,10 +13,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 11
|
||||
@ -31,10 +31,12 @@ jobs:
|
||||
run: ./gradlew createCodeCoverageReport
|
||||
|
||||
- name: Upload code coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- name: Upload Coverage to GH-Actions
|
||||
uses: actions/upload-artifact@v2.2.0
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: Tests Coverage Report
|
||||
|
@ -24,7 +24,7 @@ ext {
|
||||
|
||||
// Replace these versions with the latest available versions of libkiwix and libzim
|
||||
ext.libkiwix_version = "13.1.0-1"
|
||||
ext.libzim_version = "9.2.0"
|
||||
ext.libzim_version = "9.2.1"
|
||||
|
||||
apply from: 'publish.gradle'
|
||||
android {
|
||||
|
@ -234,9 +234,9 @@ public class test {
|
||||
String zimFile = "non_existant.zim";
|
||||
try {
|
||||
TestArchive archive1 = new TestArchive(zimFile);
|
||||
fail("ERROR: Archive created with invalid Zim file!");
|
||||
fail("ERROR: Archive created with invalid ZIM file!");
|
||||
} catch (Exception e) {
|
||||
assertEquals("error 2 opening file \"" + zimFile + "\"", e.getMessage());
|
||||
assertEquals("Error opening as a split file: " + zimFile, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user