tests: run integration and regression tests on other platforms (#93)

* tests: add script to download test dependencies from fallback mirrors

* tests: use the new download_deps script, run tests on macos

* ci: download proper artifact for macos

* chore: make download_deps script download everything to dir named `monero_c` when ran directly

* tests: await downloading deps

* tests download  proper monero_c version in prepareMoneroC

* tests: fix typos

* tests: add file data for more targets

* tests: print why retrieving tags failed

* chore: change mirror url endpoint from `monero_c` to `download_mirror`

* tests: use cached releases endpoint to prevent ratelimits

* ci: remove brew@1.76 dependency

* tests: fix macos dylib path

* feat!(monero.ts): make `createTransactionMultDest` optionally return `null`

* feat(monero.ts): make `Wallet_reconnectDevice` symbol optional

* tests: don't try to extract file if out already exists

* tests: remove unnecesary directory rm calls

* ci: set regression tests to use canary
This commit is contained in:
Mateusz Franik
2024-12-30 10:39:28 +01:00
committed by GitHub
parent 2a38bf2961
commit 85770ea6f1
11 changed files with 454 additions and 128 deletions

32
tests/deno.lock generated
View File

@@ -9,14 +9,12 @@
"jsr:@std/bytes@0.221": "0.221.0",
"jsr:@std/fmt@0.221": "0.221.0",
"jsr:@std/fmt@1": "1.0.2",
"jsr:@std/fs@1": "1.0.4",
"jsr:@std/fs@1": "1.0.5",
"jsr:@std/io@0.221": "0.221.0",
"jsr:@std/path@1": "1.0.6",
"jsr:@std/path@1.0.8": "1.0.8",
"jsr:@std/path@^1.0.6": "1.0.6",
"jsr:@std/streams@0.221": "0.221.0",
"jsr:@std/streams@^1.0.7": "1.0.7",
"jsr:@std/tar@*": "0.1.2"
"jsr:@std/path@*": "1.0.8",
"jsr:@std/path@1": "1.0.8",
"jsr:@std/path@^1.0.7": "1.0.8",
"jsr:@std/streams@0.221": "0.221.0"
},
"jsr": {
"@david/dax@0.42.0": {
@@ -28,7 +26,7 @@
"jsr:@std/fs",
"jsr:@std/io",
"jsr:@std/path@1",
"jsr:@std/streams@0.221"
"jsr:@std/streams"
]
},
"@david/path@0.2.0": {
@@ -56,10 +54,10 @@
"@std/fmt@1.0.2": {
"integrity": "87e9dfcdd3ca7c066e0c3c657c1f987c82888eb8103a3a3baa62684ffeb0f7a7"
},
"@std/fs@1.0.4": {
"integrity": "2907d32d8d1d9e540588fd5fe0ec21ee638134bd51df327ad4e443aaef07123c",
"@std/fs@1.0.5": {
"integrity": "41806ad6823d0b5f275f9849a2640d87e4ef67c51ee1b8fb02426f55e02fd44e",
"dependencies": [
"jsr:@std/path@^1.0.6"
"jsr:@std/path@^1.0.7"
]
},
"@std/io@0.221.0": {
@@ -69,9 +67,6 @@
"jsr:@std/bytes"
]
},
"@std/path@1.0.6": {
"integrity": "ab2c55f902b380cf28e0eec501b4906e4c1960d13f00e11cfbcd21de15f18fed"
},
"@std/path@1.0.8": {
"integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be"
},
@@ -80,15 +75,6 @@
"dependencies": [
"jsr:@std/io"
]
},
"@std/streams@1.0.7": {
"integrity": "1a93917ca0c58c01b2bfb93647189229b1702677f169b6fb61ad6241cd2e499b"
},
"@std/tar@0.1.2": {
"integrity": "98183102395decd6268253996177804f818580ef547a25b81da0e7cc334db708",
"dependencies": [
"jsr:@std/streams@^1.0.7"
]
}
}
}