Merge pull request #94 from kiwix/libzim_9.2.1

Use libzim 9.2.1
This commit is contained in:
Kelson 2024-05-02 17:28:11 +02:00 committed by GitHub
commit 9510dd308f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 9 deletions

View File

@ -10,10 +10,10 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v4
with: with:
distribution: adopt distribution: adopt
java-version: 11 java-version: 11

View File

@ -13,10 +13,10 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v4
with: with:
distribution: adopt distribution: adopt
java-version: 11 java-version: 11
@ -31,10 +31,12 @@ jobs:
run: ./gradlew createCodeCoverageReport run: ./gradlew createCodeCoverageReport
- name: Upload code coverage to Codecov - 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 - name: Upload Coverage to GH-Actions
uses: actions/upload-artifact@v2.2.0 uses: actions/upload-artifact@v4
if: ${{ always() }} if: ${{ always() }}
with: with:
name: Tests Coverage Report name: Tests Coverage Report

View File

@ -24,7 +24,7 @@ ext {
// Replace these versions with the latest available versions of libkiwix and libzim // Replace these versions with the latest available versions of libkiwix and libzim
ext.libkiwix_version = "13.1.0-1" ext.libkiwix_version = "13.1.0-1"
ext.libzim_version = "9.2.0" ext.libzim_version = "9.2.1"
apply from: 'publish.gradle' apply from: 'publish.gradle'
android { android {

View File

@ -234,9 +234,9 @@ public class test {
String zimFile = "non_existant.zim"; String zimFile = "non_existant.zim";
try { try {
TestArchive archive1 = new TestArchive(zimFile); TestArchive archive1 = new TestArchive(zimFile);
fail("ERROR: Archive created with invalid Zim file!"); fail("ERROR: Archive created with invalid ZIM file!");
} catch (Exception e) { } catch (Exception e) {
assertEquals("error 2 opening file \"" + zimFile + "\"", e.getMessage()); assertEquals("Error opening as a split file: " + zimFile, e.getMessage());
} }
} }