forked from valora-inc/wallet
-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(ci): Setup CI, get e2e tests working #1
Merged
Merged
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f0f3477
test
jophish d892d2a
test
jophish eb0c9de
Update e2e
jophish f381802
Merge branch 'main' into jophish/test-branch
jophish 9839455
Try installing ninja
jophish 5609eaf
Merge branch 'jophish/test-branch' of github.com:mobilestack-xyz/mobi…
jophish 18cc7d0
Sudo
jophish 252b9c0
Disable some tests
jophish 44f8507
Test
jophish c801843
Everything is working locally now
jophish dd4d442
Merge branch 'main' into jophish/test-branch
jophish b50cf8a
Continue to fix stuff
jophish e9d91bd
Merge branch 'jophish/test-branch' of github.com:mobilestack-xyz/mobi…
jophish bbe978b
Merge branch 'main' into jophish/test-branch
jophish b7469ef
Fix test
jophish 6153940
Merge branch 'jophish/test-branch' of github.com:mobilestack-xyz/mobi…
jophish bc0da9b
Simplify skips
jophish d0bfcbd
Comments
jophish 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 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 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 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 |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import { E2E_TEST_WALLET, E2E_TEST_WALLET_SECURE_SEND } from './consts' | ||
import { E2E_TEST_WALLET } from './consts' | ||
import { checkBalance, getCeloTokensBalance } from './utils' | ||
;(async () => { | ||
console.log(`E2E_TEST_WALLET: ${E2E_TEST_WALLET}`) | ||
console.table(await getCeloTokensBalance(E2E_TEST_WALLET)) | ||
await checkBalance(E2E_TEST_WALLET) | ||
|
||
console.log(`E2E_TEST_WALLET_SECURE_SEND: ${E2E_TEST_WALLET_SECURE_SEND}`) | ||
console.table(await getCeloTokensBalance(E2E_TEST_WALLET_SECURE_SEND)) | ||
await checkBalance(E2E_TEST_WALLET_SECURE_SEND) | ||
})() |
This file contains 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const E2E_TEST_WALLET = '0x6131a6d616a4be3737b38988847270a64bc10caa' | ||
export const E2E_TEST_WALLET_SECURE_SEND = '0x86b8f44386cb2d457db79c3dab8cf42f9d8a3fc0' | ||
export const E2E_TEST_WALLET = '0x3f4f42aC3a5A3c54454F9d00C27bCAFA78Cc6856' | ||
export const E2E_TEST_WALLET_SECURE_SEND = '0x4971094C1cB186b5589E5709c83D28c264865925' | ||
export const E2E_TEST_FAUCET = '0xe5F5363e31351C38ac82DBAdeaD91Fd5a7B08846' | ||
export const REFILL_TOKENS = ['CELO', 'cUSD', 'cEUR'] |
This file contains 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 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 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 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I'm not certain why this is required here -- my best guess is that it's something to do with the cache volume, and this dependency somehow already being available in
$PATH
on the existing volume we use in the wallet. Since we're using a new volume for this repo, if this dep isn't installed during the setup process already, we wouldn't have it available.Anyway, Detox was failing without it, so I added this here.