Skip to content

Commit

Permalink
fix: disable brew
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Feb 8, 2024
1 parent 6ef0901 commit 59506f0
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,26 +48,30 @@ jobs:
- name: Run regtest setup
run: cd docker && mkdir lnd && chmod 777 lnd && docker compose up --quiet-pull -d

- name: Install AppleSimulatorUtils
run: HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew && brew install applesimutils
# - name: Install AppleSimulatorUtils
# run: HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew && brew install applesimutils

- name: Wait for electrum server
timeout-minutes: 20
run: |
while true
do
for i in {1..60}; do
nc -z '127.0.0.1' 60001
if [ $? -eq 0 ]; then
echo "port is open"
exit 0
fi
echo "port is closed, attempt $i"
sleep 1
done
echo "colima restart"
colima restart
done
timeout-minutes: 10
run: while ! nc -z '127.0.0.1' 60001; do sleep 1; done

# - name: Wait for electrum server
# timeout-minutes: 20
# run: |
# while true
# do
# for i in {1..60}; do
# nc -z '127.0.0.1' 60001
# if [ $? -eq 0 ]; then
# echo "port is open"
# exit 0
# fi
# echo "port is closed, attempt $i"
# sleep 1
# done
# echo "colima restart"
# colima restart
# done

# - name: Wait for bitcoind
# timeout-minutes: 2
Expand All @@ -77,23 +81,23 @@ jobs:
# timeout-minutes: 2
# run: while ! nc -z '127.0.0.1' 60001; do sleep 1; done

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.17
cache: 'yarn' # cache packages, but not node_modules
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: 18.17
# cache: 'yarn' # cache packages, but not node_modules

- name: Activate enviroment variables
run: cp .env.test.template .env

- name: Activate react-native-skia-stub
run: patch -p1 < .github/workflows/react-native-skia-stub.patch

- name: Detox Framework Cache
uses: actions/cache@v3
with:
path: ~/Library/Detox/ios
key: detox-framework-cache-${{ hashFiles('**/yarn.lock') }}
# - name: Detox Framework Cache
# uses: actions/cache@v3
# with:
# path: ~/Library/Detox/ios
# key: detox-framework-cache-${{ hashFiles('**/yarn.lock') }}

- name: Yarn Install
run: yarn --no-audit --prefer-offline || yarn --no-audit --prefer-offline
Expand Down

0 comments on commit 59506f0

Please sign in to comment.