Skip to content

Commit

Permalink
demo of maestro in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Almouro committed Jul 23, 2024
1 parent 3544acf commit 4a1f6aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ios_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
maestro test ./packages/platforms/ios-instruments/test.yaml
21 changes: 10 additions & 11 deletions .github/workflows/ios_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }})

0 comments on commit 4a1f6aa

Please sign in to comment.