forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 117
fix(tests): fix failing tests #2085
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
9ec3c76
CI improvments
mariocynicys a49235a
replace rick and morty with doc and marty
mariocynicys 74033f3
follow redirect for test process price request
mariocynicys b41f67d
Refactor the eth tests
mariocynicys 3a32372
WIP: upgrading tendermint
mariocynicys 611aee4
finish upgrading tendermint
mariocynicys 9ff94d4
fix fmt & lint issues
mariocynicys 19e2a09
install protopuf compiler (used in builds)
mariocynicys 9deace2
refactor names + added some test atoms to the test address + fix depr…
mariocynicys 2b82e4b
update outdated IBC channels
mariocynicys 6873cce
refactor ci actions
mariocynicys f11d4ec
fix wasm builds
mariocynicys 0b7ece0
ignore failing tests for now
mariocynicys 094a5d9
fix 2 more failing tests after rebase with dev
mariocynicys 053567c
add cargo lock
mariocynicys 24015b0
fix nonce locking issue
mariocynicys 63ffcc7
use different address for `test_nonce_several_urls`
mariocynicys 16331e8
don't use sepolia since it returns the highest nonce and rules out ou…
mariocynicys 5366bb4
move eth chain interactive tests to docker tests
mariocynicys a4e115a
unignore test_hd_utxo_tx_history tests
mariocynicys 2be05b6
move mm2 integration tests that used JST (erc20 token for tests) to d…
mariocynicys dec31f9
move test_orderbook_depth tests to dockerized tests
mariocynicys 23437a2
configure loopback address on macos on CI
mariocynicys 8bc8853
fix formatting issue
mariocynicys 8d5a445
fix `test_search_for_swap_tx_spent_electrum_was_[spent|refunded]`
mariocynicys beb4410
fix test lint issue
mariocynicys aa1fbe6
fix nft test unwraps None
mariocynicys 8cc6afd
rename macos-ifconfig script to lo0_config
mariocynicys 27ca6a0
bump un-bumped prost versions
mariocynicys e5a12b1
move qrc20_tests::test_send_taker_fee to docker
mariocynicys 2e141de
suggestions from onur and fixing fixmes
mariocynicys ca4837d
fix nft moralis block num and ignore tendermint ibc test
mariocynicys 73ca142
unignore swap_iris_with_rick & swap_usdc_ibc_with_nimda tendermint tests
mariocynicys 5fa2259
revert using a global env variable for checking server availablity
mariocynicys 07f46ca
change format and lint jobs' names
mariocynicys a39faa4
try unwrap_err instead of expect_err
mariocynicys c64196d
Revert "try unwrap_err instead of expect_err"
mariocynicys 4f8d1f3
ignore test_websocket_invalid_url for now
mariocynicys 319b63a
ignore doesn't work with wasm tests, so commenting it out
mariocynicys 978434b
upgrade some *rustls crates to reduce duplications
mariocynicys f739233
suggestions from omar: remove eth dist + add qick test
mariocynicys 6311e77
fix adex-cli compliation issues due to hyper-rustls & rustls verions
mariocynicys d4e512a
suggestions from omar: unignore ignored tests
mariocynicys d80a0db
fix ordermathcing tests and eth_with_tokens tests
mariocynicys dcc3a49
fix best order tests
mariocynicys 440ef67
fix two tests were using eth with no balance
mariocynicys 729be0f
suggestions from omar: fix wasm compilation issue by using futures-ru…
mariocynicys 9577388
suggestions from omar: provide a default value for price_sources by m…
mariocynicys 2f87629
remove note around using servername isntead of dnsnameref
mariocynicys 8e7bafc
use log in tests instead of println
mariocynicys 809f5f5
revert some test helper funcs
mariocynicys eda0f42
use wait_check_stats_swap_status to avoid frequent taker swap stat no…
mariocynicys e76b92e
quit conneciton_loop if socket_addr or dns_name parsing fails
mariocynicys dd2c7b3
accept only domain names (no ips) for ssl enabled electrum servers
mariocynicys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: Install Dependencies | ||
| description: Install non-cargo dependencies in an OS-agnostic way | ||
|
|
||
| inputs: | ||
| deps: | ||
| description: "Dependencies to install (format: ('list' 'of' 'dependencies'))." | ||
| required: true | ||
| temp: | ||
| description: "A temporary directory path that can be used to store the installed binaries if needed." | ||
|
|
||
| # NOTE: Don't install binaries in the project directory because the directory might be checked out later. | ||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Install protoc (Linux) | ||
| env: | ||
| TMP: ${{ inputs.temp || runner.temp }} | ||
| if: runner.os == 'Linux' && contains(inputs.deps, 'protoc') | ||
| shell: bash | ||
| run: | | ||
| wget https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip | ||
| unzip protoc-25.3-linux-x86_64 -d "$TMP/protobuf" | ||
| echo "$TMP/protobuf/bin" >> $GITHUB_PATH | ||
|
|
||
| - name: Install protoc (MacOS) | ||
| env: | ||
| TMP: ${{ inputs.temp || runner.temp }} | ||
| if: runner.os == 'macOS' && contains(inputs.deps, 'protoc') | ||
| shell: bash | ||
| run: | | ||
| wget https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-osx-x86_64.zip | ||
| unzip protoc-25.3-osx-x86_64.zip -d "$TMP/protobuf" | ||
| echo "$TMP/protobuf/bin" >> $GITHUB_PATH | ||
|
|
||
| - name: Install protoc (Windows) | ||
| env: | ||
| TMP: ${{ inputs.temp || runner.temp }} | ||
| if: runner.os == 'Windows' && contains(inputs.deps, 'protoc') | ||
| shell: powershell | ||
| run: | | ||
| Invoke-WebRequest -Uri https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-win64.zip -OutFile protoc-25.3-win64.zip | ||
| 7z x protoc-25.3-win64.zip -o"$TMP\protobuf" | ||
| echo "$TMP\protobuf\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
|
|
||
| - name: Install libudev (Linux) | ||
| if: runner.os == 'Linux' && contains(inputs.deps, 'libudev') | ||
| shell: bash | ||
| run: | | ||
| sudo apt-get update -y | ||
| sudo apt-get install -y libudev-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.