Skip to content

Commit

Permalink
remove slow steps while diagnosing
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Feb 6, 2024
1 parent 0338227 commit 65f9950
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/tests_e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ jobs:
key: ${{ runner.os }}-gradle-v1-${{ hashFiles('yarn.lock', 'tests/android/build.gradle', 'tests/android/app/build.gradle') }}
restore-keys: ${{ runner.os }}-gradle-v1

- name: Build Android App
uses: nick-fields/retry@v2
with:
timeout_minutes: 25
retry_wait_seconds: 60
max_attempts: 3
command: yarn tests:android:build
# - name: Build Android App
# uses: nick-fields/retry@v2
# with:
# timeout_minutes: 25
# retry_wait_seconds: 60
# max_attempts: 3
# command: yarn tests:android:build

- name: Metro Bundler Cache
uses: actions/cache@v3
Expand All @@ -124,18 +124,18 @@ jobs:
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
restore-keys: ${{ runner.os }}-metro-v1

- name: Pre-fetch Javascript bundle
# Prebuild the bundle so that's fast when the app starts.
run: |
nohup yarn tests:packager:jet-ci &
printf 'Waiting for packager to come online'
until curl --output /dev/null --silent --head --fail http://localhost:8081/status; do
printf '.'
sleep 2
done
echo "Packager is online! Preparing javascript bundle..."
curl --output /dev/null --silent --head --fail "http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&inlineSourceMap=true"
echo "...javascript bundle ready."
# - name: Pre-fetch Javascript bundle
# # Prebuild the bundle so that's fast when the app starts.
# run: |
# nohup yarn tests:packager:jet-ci &
# printf 'Waiting for packager to come online'
# until curl --output /dev/null --silent --head --fail http://localhost:8081/status; do
# printf '.'
# sleep 2
# done
# echo "Packager is online! Preparing javascript bundle..."
# curl --output /dev/null --silent --head --fail "http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&inlineSourceMap=true"
# echo "...javascript bundle ready."

- name: Test Tapper
# Detox uses Espresso to choreograph UI events, we send a stream of taps to keep choreography moving quickly
Expand Down

0 comments on commit 65f9950

Please sign in to comment.