Skip to content
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 18 commits into from
Sep 13, 2024
Merged

Conversation

jophish
Copy link

@jophish jophish commented Sep 9, 2024

Description

This PR gets the e2e tests working, and sets up the Namespace integration for the Android runners. ATM, all enabled e2e tests pass except for the WC tests, though this perhaps seems unrelated to this repo in particular? See Slack thread.

Test plan

Related issues

  • Fixes #[issue number here]

Backwards compatibility

Network scalability

If a new NetworkId and/or Network are added in the future, the changes in this PR will:

  • Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)

@@ -50,6 +50,9 @@ jobs:
yes | sdkmanager "platform-tools" "platforms;android-33"
set -o pipefail

# Install Ninja
Copy link
Author

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.

e2e/scripts/fund-e2e-accounts.ts Outdated Show resolved Hide resolved
@jophish jophish changed the title feat(test): Testing workflows feat(test): Setup CI Sep 12, 2024
@jophish jophish changed the title feat(test): Setup CI feat(ci): Setup CI, get e2e tests working Sep 12, 2024
Copy link

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 🚀

.github/workflows/e2e-pr.yml Outdated Show resolved Hide resolved
e2e/scripts/fund-e2e-accounts.ts Outdated Show resolved Hide resolved
e2e/scripts/fund-e2e-accounts.ts Outdated Show resolved Hide resolved
@jophish jophish merged commit 307e844 into main Sep 13, 2024
9 of 10 checks passed
@jophish jophish deleted the jophish/test-branch branch September 13, 2024 03:21
jeanregisser pushed a commit that referenced this pull request Sep 25, 2024
### Description

This PR gets the e2e tests working, and sets up the Namespace
integration for the Android runners. ATM, all enabled e2e tests pass
except for the WC tests, though this perhaps seems unrelated to this
repo in particular? [See Slack
thread](https://valora-app.slack.com/archives/C025V1D6F3J/p1726096062541629).

### Test plan

<!-- Demonstrate the change is solid, or why it doesn't need testing.
Example: add any manual testing steps or scenarios (if not obvious),
screenshots / videos if the pull request changes the user interface.
-->

### Related issues

- Fixes #[issue number here]

### Backwards compatibility

<!-- Brief explanation of why these changes are/are not backwards
compatible. -->

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [ ] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants