Skip to content

Commit

Permalink
Merge pull request #94 from kiwix/libzim_9.2.1
Browse files Browse the repository at this point in the history
Use libzim 9.2.1
  • Loading branch information
kelson42 authored May 2, 2024
2 parents f21f379 + 7391792 commit 9510dd3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions lib/src/test/test.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ public void testNonExistant() {
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());
}
}

Expand Down

0 comments on commit 9510dd3

Please sign in to comment.