-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add preinst
script unit tests π§ͺ
#3942
Conversation
PLA-759 Write unit tests for preinst scripts
We could for example create a Docker image with dummy code and config inside and run the script against it to check it performs as expected |
Codecov Report
@@ Coverage Diff @@
## main #3942 +/- ##
======================================
- Coverage 73% 72% -0%
======================================
Files 367 366 -1
Lines 56041 56789 +748
Branches 56041 56789 +748
======================================
+ Hits 40632 40952 +320
- Misses 13344 13751 +407
- Partials 2065 2086 +21 see 39 files with indirect coverage changes π£ Weβre building smart automated test selection to slash your CI/CD build times. Learn more |
* chore: add `preinst` script unit tests π§ͺ * chore: test refactored preinst script in development * fix: `#DEBHELPER#`tag * debug: use bash as the preinst interpreter * chore: add CI for bats tests π¦ * fix: set shell to bash * chore: remove `exit 0` * chore: colorful logs π * chore: add engine preinst tests π€ * chore: add placeholder for updating engine config tests
* chore: add `preinst` script unit tests π§ͺ * chore: test refactored preinst script in development * fix: `#DEBHELPER#`tag * debug: use bash as the preinst interpreter * chore: add CI for bats tests π¦ * fix: set shell to bash * chore: remove `exit 0` * chore: colorful logs π * chore: add engine preinst tests π€ * chore: add placeholder for updating engine config tests
β¦on-integration * origin/main: fix: scale encoding skip phantom data (#3967) chore: make platform team code owner of CI settings.toml and localnet (#3957) fix: prefer finalize_signed_extrinsic in engine (#3956) fix: CanonicalAssetPair encoding issue (#3958) chore(bouncer): Update sdk to 0.0.40 (#3945) fix: tweak cli generate-keys output (#3943) chore: add `preinst` script unit tests π§ͺ (#3942) Better LP/Broker API RPC Errors (#3931) fix: update substrate ref to use Kademlia fix (#3941) doc: update funding readme with redemption restrictions (#3914) feat: PRO-474 broadcast safe mode (#3902) feat: more forgiving dot address parsing (#3938) fix: duplicate logging (#3939) feat: new lp interface (#3886) # Conflicts: # Cargo.lock # state-chain/cf-integration-tests/Cargo.toml # state-chain/cf-integration-tests/src/authorities.rs
preinst
scripts π¬/bin/bash
as an interpreter π£οΈ