Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo of maestro in github actions #310

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }})
Loading