mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-24 10:54:13 +01:00
ci: run analyze + tests on every push/PR; make the suite real
- delete the stock Flutter counter widget_test (always failed) and the lightning invoice tests (network-dependent, and the feature is off) - fix rotted assertions: removed-chain wallet types (solana, tron, zano, decred) and mainnet-only BTC/LTC pattern expectations - new test.yml workflow: pub get + analyze + test on push/PR to dev/main - analysis_options: drop excludes for deleted paths, stop excluding the five live coin facades, enable empty_catches and 7 other correctness lints (still 0 analyzer errors) - integration_test_runner: clean hash_wallet data dirs, not cake_wallet
This commit is contained in:
@@ -10,8 +10,12 @@ MAX_PARALLEL_TESTS=${MAX_PARALLEL_TESTS:-2}
|
||||
TEST_TIMEOUT=${TEST_TIMEOUT:-600}
|
||||
RETRY_COUNT=${RETRY_COUNT:-1}
|
||||
|
||||
# Data directories to clean
|
||||
# Data directories to clean (current app dirs plus legacy pre-rename ones,
|
||||
# since root_dir.dart migrates legacy data into the current dir on startup)
|
||||
DATA_DIRS=(
|
||||
"$HOME/.local/share/com.suchsoftware.hashwallet"
|
||||
"$HOME/Documents/hash_wallet"
|
||||
"$HOME/.config/hash_wallet"
|
||||
"$HOME/.local/share/com.example.cake_wallet"
|
||||
"$HOME/Documents/cake_wallet"
|
||||
"$HOME/.config/cake_wallet"
|
||||
|
||||
Reference in New Issue
Block a user