Skip to content

Add GitHub CI with unit, crypto compatibility and end-to-end tests - #202

Closed
binsky08 wants to merge 19 commits into
masterfrom
feature/add-github-ci
Closed

binsky08 wants to merge 19 commits into
masterfrom
feature/add-github-ci

Conversation

@binsky08

Copy link
Copy Markdown
Collaborator

Runs for every pull request against master:

  • JVM unit tests (TOTP against the RFC 6238 vectors, base32, server version)
  • release-like ciRelease build (R8, resource shrinking) of all ABI splits
  • instrumented tests on emulators (API 23, 34, 37 and 32-bit ABIs on API 30,
    ARM splits through the binary translation of x86_64 images):
    • native SJCL implementation against data encrypted by the web client
    • vault/credential models, password generator, OTP
    • end-to-end user flow against a Passman server in docker, restored
      from the exchangeable test vault in ci/test-vault

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (claude opus 5.5)

binsky08 and others added 19 commits June 6, 2026 20:09
Signed-off-by: binsky08 <timo@binsky.org>
Signed-off-by: binsky08 <timo@binsky.org>
…o 9.4.1

Signed-off-by: binsky08 <timo@binsky.org>
minSdkVersion to 23 is required by recent camera lib versions

Signed-off-by: binsky08 <timo@binsky.org>
Signed-off-by: binsky <timo@binsky.org>
Signed-off-by: binsky <timo@binsky.org>
…ample

optimized resource shrinking in R8 requires non-final resource IDs, which is the AGP default since 8.0.

Signed-off-by: binsky <timo@binsky.org>
since minSdk 23 AGP stores .so files uncompressed by default, which made the universal apk grow, we'll simply change this back, to get a smaller apk size

Signed-off-by: binsky <timo@binsky.org>
…ave about 1.2 MB per apk)

Signed-off-by: binsky <timo@binsky.org>
Exporting all OpenSSL symbols from libpassman-lib.so prevented the linker from dropping unused code. Only the JNI functions need to be exported. Reduces the stripped .so by around 1.7 MB per ABI.

Signed-off-by: binsky <timo@binsky.org>
Signed-off-by: binsky <timo@binsky.org>
…er bundled into release APKs)

Signed-off-by: binsky <timo@binsky.org>
Signed-off-by: binsky <timo@binsky.org>
The adapter keeps the vault test key in the list but hides its row, so
counting the adapter entries reported it as shown. Bind every entry like
the adapter does and compare the labels of the visible rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: binsky <timo@binsky.org>
…ub-ci

Signed-off-by: binsky <timo@binsky.org>
@binsky08 binsky08 closed this Oct 28, 2026
@binsky08
binsky08 deleted the feature/add-github-ci branch October 28, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant