Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Aug 2, 2024
1 parent 96f4c0f commit 5fcf2ab
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
run: |
ls -la
unzip maestro.zip -d maestro_extracted
echo "$PWD/maestro_extracted/bin" >> $GITHUB_PATH
ls -la maestro_extracted
echo "$PWD/maestro_extracted/maestro/bin" >> $GITHUB_PATH
- name: Check if Maestro CLI executable starts up
run: |
Expand Down Expand Up @@ -174,17 +175,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Clone repository
uses: actions/checkout@v4

- name: Install JDK 8
uses: actions/setup-java@v2
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: "zulu"
distribution: zulu
java-version: 8

- name: Install Maestro
run: |
export MAESTRO_VERSION=1.36.0;
curl -Ls --retry 3 --retry-all-errors "https://get.maestro.mobile.dev" | bash
echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
echo -n "e2e" > ${HOME}/.maestro/uuid
Expand Down
13 changes: 13 additions & 0 deletions .run/maestro-cli.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="maestro-cli" type="Application" factoryName="Application">
<option name="ALTERNATIVE_JRE_PATH" value="1.8" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="MAIN_CLASS_NAME" value="maestro.cli.AppKt" />
<module name="maestro.maestro-cli" />
<option name="PROGRAM_PARAMETERS" value="$Prompt$" />
<option name="WORKING_DIRECTORY" value="$FilePrompt$" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
2 changes: 1 addition & 1 deletion e2e/download_apps
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

set -euo pipefail
set -eu

# Download apps from URLs listed in manifest.txt.
#
Expand Down
2 changes: 1 addition & 1 deletion e2e/install_apps
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

set -euo pipefail
set -eu

[ "$(basename "$PWD")" = "e2e" ] || { echo "must be run from e2e directory" && exit 1; }

Expand Down

0 comments on commit 5fcf2ab

Please sign in to comment.