Skip to content

Commit

Permalink
more ensurance that both maestro and flashlight are avaliable in gith…
Browse files Browse the repository at this point in the history
…ub runner
  • Loading branch information
rozPierog committed Oct 30, 2024
1 parent 7ff79c8 commit f813891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/performanceTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: setup maestro and flashlight
run: |
yes | ./bin/maestroSetup.sh
source /home/runner/.bashrc
export PATH="$HOME/.maestro/bin/:$PATH"
echo "export PATH=\$HOME/.flashlight/bin/:$PATH" >> $GITHUB_ENV
- name: Enable KVM group perms
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "react-native start",
"test": "jest",
"pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",
"performance-test": "cd android && ./gradlew installRelease && cd .. && $HOME/.flashlight/bin/flashlight test --bundleId com.onboarding --testCommand 'maestro test __tests__/maestro/NavigationAndroid.yaml' --duration 10000 --resultsFilePath results.json"
"performance-test": "cd android && ./gradlew installRelease && cd .. && flashlight test --bundleId com.onboarding --testCommand 'maestro test __tests__/maestro/NavigationAndroid.yaml' --duration 10000 --resultsFilePath results.json"
},
"codegenConfig": {
"name": "NativeLocationSpec",
Expand Down

0 comments on commit f813891

Please sign in to comment.