-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/rainbow-me/rainbow into …
…@benisgold/statedump
- Loading branch information
Showing
365 changed files
with
107,572 additions
and
6,581 deletions.
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 |
---|---|---|
|
@@ -37,5 +37,7 @@ module.exports = { | |
], | ||
}, | ||
], | ||
'jest/expect-expect': 'off', | ||
'jest/no-disabled-tests': 'off', | ||
}, | ||
}; |
26 changes: 15 additions & 11 deletions
26
.github/workflows/macstadium-clear-cache-all-instances.yml
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,36 +1,40 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Clear macstadium cache (All instances) | ||
|
||
# Controls when the workflow will run | ||
on: [ workflow_dispatch] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
clear-cache-ci-1: | ||
runs-on: ["CI-1"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-2: | ||
runs-on: ["CI-2"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-3: | ||
runs-on: ["CI-3"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-4: | ||
runs-on: ["CI-4"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-5: | ||
runs-on: ["CI-5"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-6: | ||
runs-on: ["CI-6"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-7: | ||
runs-on: ["CI-7"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
|
||
|
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,6 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: iOS e2e tests | ||
|
||
# Controls when the workflow will run | ||
on: [pull_request, workflow_dispatch] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "ios-e2e" | ||
ios-e2e: | ||
|
@@ -16,32 +11,24 @@ jobs: | |
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up github keys | ||
run: echo 'hi 00' && git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null" && echo 'hi 0' | ||
run: git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null" | ||
|
||
- name: Set up ENV vars & scripts | ||
run: | | ||
# read local env vars | ||
echo 'hi' | ||
source ~/.bashrc | ||
echo 'hi 1' | ||
# fetch env vars | ||
git clone [email protected]:rainbow-me/rainbow-env.git | ||
echo '2' | ||
# unpack dotenv | ||
mv rainbow-env/dotenv .env && rm -rf rainbow-env | ||
# run CI scripts | ||
echo 'hi 3' | ||
eval $CI_SCRIPTS | ||
echo 'hi 4' | ||
# tweak dotenv for e2e | ||
sed -i''-e "s/\IS_TESTING=false/IS_TESTING=true/" .env && rm -f .env-e | ||
echo 'hi 5' | ||
- name: Install deps via Yarn | ||
run: yarn setup-ci | ||
|
||
|
@@ -60,8 +47,19 @@ jobs: | |
- name: Rebuild detox cache | ||
run: ./node_modules/.bin/detox clean-framework-cache && ./node_modules/.bin/detox build-framework-cache | ||
|
||
- name: Build the app in Release mode | ||
- name: Remove old Detox artifacts | ||
run: rm -rf ./artifacts/ | ||
|
||
- name: Build the app in release mode | ||
run: ./node_modules/.bin/detox build --configuration ios.sim.release | ||
|
||
- name: Run iOS e2e tests | ||
run: ./node_modules/.bin/detox test -R 5 --configuration ios.sim.release --forceExit --bail | ||
|
||
- name: Upload Test Artifacts | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: detox-artifacts | ||
path: artifacts/** | ||
|
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ rainbow-scripts | |
.vscode | ||
__generated__ | ||
coverage | ||
InjectedJSBundle.js |
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
Validating CODEOWNERS rules …
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.