From 4a1f6aac8e64fe9d358b9eede4036e3c04e8e05a Mon Sep 17 00:00:00 2001 From: almouro Date: Tue, 23 Jul 2024 18:14:52 +0200 Subject: [PATCH] demo of maestro in github actions --- .github/workflows/ios_e2e.sh | 2 +- .github/workflows/ios_e2e.yml | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ios_e2e.sh b/.github/workflows/ios_e2e.sh index a2a16550..04fae7eb 100755 --- a/.github/workflows/ios_e2e.sh +++ b/.github/workflows/ios_e2e.sh @@ -22,4 +22,4 @@ xcrun simctl install $UDID ./.github/workflows/fakeStore.app xcrun simctl launch $UDID $APPID mkdir -p report -npx flashlight-ios-poc ios-test --appId $APPID --simulatorId $UDID --testCommand 'maestro test ./packages/platforms/ios-instruments/test.yaml' --resultsFilePath './report/result.json' \ No newline at end of file +maestro test ./packages/platforms/ios-instruments/test.yaml diff --git a/.github/workflows/ios_e2e.yml b/.github/workflows/ios_e2e.yml index fc989269..9aa1376c 100644 --- a/.github/workflows/ios_e2e.yml +++ b/.github/workflows/ios_e2e.yml @@ -3,10 +3,10 @@ name: E2E test running in iOS simulator on: push: branches: - - main-disabled + - main pull_request: branches: - - main-disabled + - main # - "**/main" jobs: @@ -25,14 +25,13 @@ jobs: NETLIFY_DEPLOY_TOKEN: ${{ secrets.NETLIFY_DEPLOY_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} run: | - ./.github/workflows/build-and-link.sh ./.github/workflows/ios_e2e.sh - npx @perf-profiler/web-reporter report report -o report - ./.github/workflows/netlify-report.sh - - name: Add PR Comment - uses: marocchino/sticky-pull-request-comment@v2 - with: - message: | - ## Flashlight iOS Report 🔦 + # npx @perf-profiler/web-reporter report report -o report + # ./.github/workflows/netlify-report.sh + # - name: Add PR Comment + # uses: marocchino/sticky-pull-request-comment@v2 + # with: + # message: | + # ## Flashlight iOS Report 🔦 - - [🚀 Report](${{ env.NETLIFY_PREVIEW_URL }}) + # - [🚀 Report](${{ env.NETLIFY_PREVIEW_URL }})