|
5 | 5 | pull_request: |
6 | 6 |
|
7 | 7 | jobs: |
8 | | - check_simple_android: |
9 | | - runs-on: ubuntu-latest |
10 | | - |
11 | | - steps: |
12 | | - - name: Checkout repository |
13 | | - uses: actions/checkout@v2 |
14 | | - |
15 | | - - name: Set up Node.js |
16 | | - uses: actions/setup-node@v2 |
17 | | - with: |
18 | | - node-version: "16" |
19 | | - |
20 | | - - name: Setup Marathon Cloud |
21 | | - uses: MarathonLabs/[email protected] |
22 | | - with: |
23 | | - version: "1.0.38" |
24 | | - |
25 | | - - name: Run Marathon Cloud action-invoke |
26 | | - uses: ./ |
27 | | - with: |
28 | | - apiKey: ${{ secrets.RUN_TOKEN }} |
29 | | - application: "example/app.apk" |
30 | | - testApplication: "example/appTest.apk" |
31 | | - platform: "android" |
32 | | - name: "android_3_0_simple" |
33 | | - |
34 | | - - name: Show failure message |
35 | | - if: failure() |
36 | | - run: | |
37 | | - echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
38 | | - echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
39 | | - exit 1 |
| 8 | + # check_simple_android: |
| 9 | + # runs-on: ubuntu-latest |
| 10 | + |
| 11 | + # steps: |
| 12 | + # - name: Checkout repository |
| 13 | + # uses: actions/checkout@v2 |
| 14 | + |
| 15 | + # - name: Set up Node.js |
| 16 | + # uses: actions/setup-node@v2 |
| 17 | + # with: |
| 18 | + # node-version: "16" |
| 19 | + |
| 20 | + # - name: Setup Marathon Cloud |
| 21 | + # uses: MarathonLabs/[email protected] |
| 22 | + # with: |
| 23 | + # version: "1.0.38" |
| 24 | + |
| 25 | + # - name: Run Marathon Cloud action-invoke |
| 26 | + # uses: ./ |
| 27 | + # with: |
| 28 | + # apiKey: ${{ secrets.RUN_TOKEN }} |
| 29 | + # application: "example/app.apk" |
| 30 | + # testApplication: "example/appTest.apk" |
| 31 | + # platform: "android" |
| 32 | + # name: "android_3_0_simple" |
| 33 | + |
| 34 | + # - name: Show failure message |
| 35 | + # if: failure() |
| 36 | + # run: | |
| 37 | + # echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
| 38 | + # echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
| 39 | + # exit 1 |
40 | 40 |
|
41 | 41 | check_output_android: |
42 | 42 | runs-on: ubuntu-latest |
|
66 | 66 | output: "output" |
67 | 67 | resultFile: "some-result.json" |
68 | 68 | branch: "develop" |
| 69 | + project: "temp_project" |
69 | 70 |
|
70 | 71 | - name: Check if output folder exists and is not empty |
71 | 72 | run: | |
@@ -104,103 +105,103 @@ jobs: |
104 | 105 | echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
105 | 106 | exit 1 |
106 | 107 |
|
107 | | - check_output_failed_android: |
108 | | - runs-on: ubuntu-latest |
109 | | - |
110 | | - steps: |
111 | | - - name: Checkout repository |
112 | | - uses: actions/checkout@v2 |
113 | | - |
114 | | - - name: Set up Node.js |
115 | | - uses: actions/setup-node@v2 |
116 | | - with: |
117 | | - node-version: "16" |
118 | | - |
119 | | - - name: Setup Marathon Cloud |
120 | | - uses: MarathonLabs/[email protected] |
121 | | - with: |
122 | | - version: "1.0.38" |
123 | | - |
124 | | - - name: Run Marathon Cloud action-invoke |
125 | | - uses: ./ |
126 | | - with: |
127 | | - apiKey: ${{ secrets.RUN_TOKEN }} |
128 | | - application: "example/app.apk" |
129 | | - testApplication: "example/appTestFailed.apk" |
130 | | - platform: "android" |
131 | | - name: "android_3_0_failed" |
132 | | - output: "output" |
133 | | - ignoreTestFailures: "true" |
134 | | - |
135 | | - - name: Check if output folder exists and is not empty |
136 | | - run: | |
137 | | - if [ -d "output" ] && [ "$(ls -A output)" ]; then |
138 | | - echo "Output folder exists and is not empty." |
139 | | - else |
140 | | - echo "Output folder does not exist or is empty." |
141 | | - exit 1 |
142 | | - fi |
143 | | -
|
144 | | - - name: Upload artifact |
145 | | - if: always() |
146 | | - uses: actions/upload-artifact@v4 |
147 | | - with: |
148 | | - name: android_failed_output |
149 | | - path: output |
150 | | - |
151 | | - - name: Show failure message |
152 | | - if: failure() |
153 | | - run: | |
154 | | - echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
155 | | - echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
156 | | - exit 1 |
157 | | -
|
158 | | - check_ios: |
159 | | - runs-on: ubuntu-latest |
160 | | - |
161 | | - steps: |
162 | | - - name: Checkout repository |
163 | | - uses: actions/checkout@v2 |
164 | | - |
165 | | - - name: Set up Node.js |
166 | | - uses: actions/setup-node@v2 |
167 | | - with: |
168 | | - node-version: "16" |
169 | | - |
170 | | - - name: Setup Marathon Cloud |
171 | | - uses: MarathonLabs/[email protected] |
172 | | - with: |
173 | | - version: "1.0.38" |
174 | | - |
175 | | - - name: Run Marathon Cloud action-invoke |
176 | | - uses: ./ |
177 | | - with: |
178 | | - apiKey: ${{ secrets.RUN_TOKEN }} |
179 | | - application: "example/sample.zip" |
180 | | - testApplication: "example/sampleUITests-Runner.zip" |
181 | | - platform: "ios" |
182 | | - name: "ios_3_0" |
183 | | - output: "output" |
184 | | - |
185 | | - - name: Check if output folder exists and is not empty |
186 | | - run: | |
187 | | - if [ -d "output" ] && [ "$(ls -A output)" ]; then |
188 | | - echo "Output folder exists and is not empty." |
189 | | - else |
190 | | - echo "Output folder does not exist or is empty." |
191 | | - exit 1 |
192 | | - fi |
193 | | -
|
194 | | - - name: Upload artifact |
195 | | - if: always() |
196 | | - uses: actions/upload-artifact@v4 |
197 | | - with: |
198 | | - name: ios_output |
199 | | - path: output |
200 | | - |
201 | | - - name: Show failure message |
202 | | - if: failure() |
203 | | - run: | |
204 | | - echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
205 | | - echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
206 | | - exit 1 |
| 108 | + # check_output_failed_android: |
| 109 | + # runs-on: ubuntu-latest |
| 110 | + |
| 111 | + # steps: |
| 112 | + # - name: Checkout repository |
| 113 | + # uses: actions/checkout@v2 |
| 114 | + |
| 115 | + # - name: Set up Node.js |
| 116 | + # uses: actions/setup-node@v2 |
| 117 | + # with: |
| 118 | + # node-version: "16" |
| 119 | + |
| 120 | + # - name: Setup Marathon Cloud |
| 121 | + # uses: MarathonLabs/[email protected] |
| 122 | + # with: |
| 123 | + # version: "1.0.38" |
| 124 | + |
| 125 | + # - name: Run Marathon Cloud action-invoke |
| 126 | + # uses: ./ |
| 127 | + # with: |
| 128 | + # apiKey: ${{ secrets.RUN_TOKEN }} |
| 129 | + # application: "example/app.apk" |
| 130 | + # testApplication: "example/appTestFailed.apk" |
| 131 | + # platform: "android" |
| 132 | + # name: "android_3_0_failed" |
| 133 | + # output: "output" |
| 134 | + # ignoreTestFailures: "true" |
| 135 | + |
| 136 | + # - name: Check if output folder exists and is not empty |
| 137 | + # run: | |
| 138 | + # if [ -d "output" ] && [ "$(ls -A output)" ]; then |
| 139 | + # echo "Output folder exists and is not empty." |
| 140 | + # else |
| 141 | + # echo "Output folder does not exist or is empty." |
| 142 | + # exit 1 |
| 143 | + # fi |
| 144 | + |
| 145 | + # - name: Upload artifact |
| 146 | + # if: always() |
| 147 | + # uses: actions/upload-artifact@v4 |
| 148 | + # with: |
| 149 | + # name: android_failed_output |
| 150 | + # path: output |
| 151 | + |
| 152 | + # - name: Show failure message |
| 153 | + # if: failure() |
| 154 | + # run: | |
| 155 | + # echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
| 156 | + # echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
| 157 | + # exit 1 |
| 158 | + |
| 159 | + # check_ios: |
| 160 | + # runs-on: ubuntu-latest |
| 161 | + |
| 162 | + # steps: |
| 163 | + # - name: Checkout repository |
| 164 | + # uses: actions/checkout@v2 |
| 165 | + |
| 166 | + # - name: Set up Node.js |
| 167 | + # uses: actions/setup-node@v2 |
| 168 | + # with: |
| 169 | + # node-version: "16" |
| 170 | + |
| 171 | + # - name: Setup Marathon Cloud |
| 172 | + # uses: MarathonLabs/[email protected] |
| 173 | + # with: |
| 174 | + # version: "1.0.38" |
| 175 | + |
| 176 | + # - name: Run Marathon Cloud action-invoke |
| 177 | + # uses: ./ |
| 178 | + # with: |
| 179 | + # apiKey: ${{ secrets.RUN_TOKEN }} |
| 180 | + # application: "example/sample.zip" |
| 181 | + # testApplication: "example/sampleUITests-Runner.zip" |
| 182 | + # platform: "ios" |
| 183 | + # name: "ios_3_0" |
| 184 | + # output: "output" |
| 185 | + |
| 186 | + # - name: Check if output folder exists and is not empty |
| 187 | + # run: | |
| 188 | + # if [ -d "output" ] && [ "$(ls -A output)" ]; then |
| 189 | + # echo "Output folder exists and is not empty." |
| 190 | + # else |
| 191 | + # echo "Output folder does not exist or is empty." |
| 192 | + # exit 1 |
| 193 | + # fi |
| 194 | + |
| 195 | + # - name: Upload artifact |
| 196 | + # if: always() |
| 197 | + # uses: actions/upload-artifact@v4 |
| 198 | + # with: |
| 199 | + # name: ios_output |
| 200 | + # path: output |
| 201 | + |
| 202 | + # - name: Show failure message |
| 203 | + # if: failure() |
| 204 | + # run: | |
| 205 | + # echo "❌ Marathon Cloud action-invoke failed. Please check the following:" |
| 206 | + # echo "1. Ensure that you have updated lib/index.js. See README for updating details." |
| 207 | + # exit 1 |
0 commit comments