• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhaozg / lua-openssl
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: v0.x
DEFAULT BRANCH: master
Repo Added 23 Jan 2022 09:12AM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.x
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • HEAD
  • ci
  • copilot/add-argon2-support
  • copilot/add-cmake-build-check
  • copilot/add-openssl-30-ossl-param-api
  • copilot/complete-roadmap-phase-2-tasks
  • copilot/enhance-kdf-module-development
  • copilot/fix-222b392f-2914-4a4f-aec4-9bf69a58faed
  • copilot/fix-48d6976d-3915-400f-8928-a2201b4100c6
  • copilot/fix-542599-1987363-eaff6162-5890-41a2-8d08-8f43caefbc59
  • copilot/fix-6c79a49a-25ca-4213-9310-86f4d5c8e1eb
  • copilot/fix-ec-module-warnings
  • copilot/fix-encryption-functions
  • copilot/fix-warning-in-three-files
  • copilot/implement-ec-group-point-interfaces
  • copilot/improve-openssl-code-review
  • copilot/migrate-dh-module-to-evp-api
  • copilot/migrate-hmac-to-evp-mac
  • copilot/migrate-low-level-key-access
  • copilot/migrate-to-evp-pkey-keygen
  • copilot/optimize-error-handling
  • copilot/refactor-engine-module
  • copilot/refactor-rsa-module
  • copilot/refactor-src-ots-c
  • copilot/scan-ldoc-comments-coverage
  • copilot/update-valgrind-suppressions
  • feat/PQC
  • feat/ec
  • fix/ED25519
  • fix/mem
  • fix/supp
  • master
  • v0.x
  • valgrind

29 Nov 2026 04:01AM UTC coverage: 93.657% (-0.004%) from 93.661%
46223016081

push

travis-ci

zhaozg
test: execute the README examples in CI

Every Lua fence in README.md is now parsed and, when the module is
loadable, executed.  A snippet that stops working is caught by the build
instead of by a user upgrading.

Cherry-picked from master, with two adaptations for this branch:

  * the .PHONY conflict: v0.x's list was missing debug/valgrind/tsan/
    clean/check even though those targets are defined here, so keeping
    the master line is a strict improvement, not a divergence.  The two
    new targets are appended to it.

  * examples 9/10/11 need Ed25519, X25519 and ChaCha20-Poly1305, which
    do not exist before 1.1.1/1.1.0.  Since this branch supports
    OpenSSL >= 1.0.0, building here and running the checker failed on
    those three and -- worse -- told the reader to mark their working
    examples as skipped.  Added a declared gate instead:

        <!-- readme-check: requires openssl>=1.1.1 -->

    Too old      -> skipped, both versions named in the reason
    LibreSSL     -> still executed, but a failure is reported as
                    unverified rather than failed: its version numbers
                    are not comparable with OpenSSL's, so the
                    requirement implies nothing about whether the code
                    works.

    The runtime version is read out of the text openssl.version()
    returns rather than from openssl.version_ge, so the checker does
    not depend on a function not every branch provides.

.github/shell/check_readme.lua (new, stdlib only, Lua 5.1-5.5 + LuaJIT):
  * extracts fenced blocks, treats ```lua / ```luajit / lua fences as Lua
  * --syntax for a parse-only pass, --strict to require that every
    non-executed block is declared, --isolated for fresh state per block,
    plus --list/--filter/--verbose/--show-output for triage
  * snippets share one sandbox in document order, because the README
    builds on itself (Example 2 reuses the module loaded by a heading)
  * --filter narrows the ... (continued)

10749 of 11477 relevant lines covered (93.66%)

1945.14 hits per line

Relevant lines Covered
Build:
Build:
11477 RELEVANT LINES 10749 COVERED LINES
1945.14 HITS PER LINE
Source Files on master
  • Tree
  • List 45
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46223016081 v0.x test: execute the README examples in CI Every Lua fence in README.md is now parsed and, when the module is loadable, executed. A snippet that stops working is caught by the build instead of by a user upgrading. Cherry-picked from master, with t... push 29 Nov 2026 04:05AM UTC zhaozg travis-ci
93.66
46221553558 master test: execute the README examples in CI Every Lua fence in README.md is now parsed and, when the module is loadable, executed. A snippet that stops working is caught by the build instead of by a user upgrading. .github/shell/check_readme.lua (n... push 29 Nov 2026 03:45AM UTC zhaozg travis-ci
93.06
45799514191 v0.x Fix Lua stack balance in TLS certificate verification push 26 Nov 2026 10:18AM UTC zhaozg travis-ci
93.66
41319598079 master fixup: clean unused variable push 01 Nov 2026 03:10PM UTC zhaozg travis-ci
93.05
41317251084 v0.x fix: LDoc exports and version portability Squash of 21a523a..eccda1d: - align LDoc @function tags with actual exports and drop unsupported @local tags - document legacy aliases and translate remaining analyzer comments - compare LibreSSL build/ru... push 01 Nov 2026 02:41PM UTC zhaozg travis-ci
93.67
41316294239 v0.x fix(version): pack version_ge values in 64 bits On 32-bit Windows unsigned long cannot hold major << 28, so a string such as 99.0.0 wrapped to a value below the runtime version and version_ge() returned true. Use unsigned long long for the packed... push 01 Nov 2026 02:29PM UTC zhaozg travis-ci
93.67
41315218100 v0.x fix(version): avoid directive inside lua_pushstring for MSVC MSVC rejects a #if block inside the argument list of a function call (C2121/C2059). Push the build-kind literal in separate #if branches. push 01 Nov 2026 02:16PM UTC zhaozg travis-ci
93.67
41314184267 v0.x docs: avoid unsupported @local tags for internal helpers ldoc 1.5 fails to parse @local with an identifier in these blocks. Use plain C comments instead; the functions are not Lua API entries. push 01 Nov 2026 02:05PM UTC zhaozg travis-ci
93.67
41312524094 v0.x fix(test): align build-match assertion with LibreSSL semantics ossl_rt_matches_build() compares major.minor only for LibreSSL because the header constant and runtime version text do not have to share patch/status bytes. The test demanded full num... push 01 Nov 2026 01:45PM UTC zhaozg travis-ci
93.67
41311541506 v0.x docs: align LDoc tags with actual exports Fix stale @function names for cms.data, digest context new, lhash_read/lhash_load, ssl.ctx_new and ssl.ctx:session. Mark internal callbacks as @local and document the x509_name:tostring and pkey:missing_p... push 01 Nov 2026 01:32PM UTC zhaozg travis-ci
93.67
See All Builds (631)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc