Skip to content

Commit 6e36629

Browse files
[UPD] TESTS - eas, package - Create a new eas session for the test e2e only
1 parent 759172f commit 6e36629

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

β€Ž.github/workflows/e2e.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: pnpm install
5050

5151
- name: πŸ”¨ Build APK (local)
52-
run: eas build --profile development --platform android --non-interactive --local --output build.apk
52+
run: eas build --profile e2e --platform android --non-interactive --local --output build.apk
5353
env:
5454
APP_ENV: development
5555

@@ -100,7 +100,7 @@ jobs:
100100
run: pnpm install
101101

102102
- name: πŸ”¨ Build APK (local)
103-
run: eas build --profile development --platform android --non-interactive --local --output build.apk
103+
run: eas build --profile e2e --platform android --non-interactive --local --output build.apk
104104
env:
105105
APP_ENV: development
106106

β€Žeas.jsonβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
"APP_ENV": "development"
1313
}
1414
},
15+
"e2e": {
16+
"channel": "development",
17+
"distribution": "internal",
18+
"env": {
19+
"APP_ENV": "development"
20+
}
21+
},
1522
"staging": {
1623
"channel": "staging",
1724
"distribution": "internal",

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"android": "expo run:android",
2626
"ios": "expo run:ios",
2727
"test:e2e": "maestro test .maestro/flows",
28-
"test:e2e:smoke": "maestro test .maestro/smoke.yaml"
28+
"test:e2e:smoke": "maestro test .maestro/smoke.yaml",
29+
"test:e2e:build": "eas build --profile e2e --platform android --local --output build.apk"
2930
},
3031
"dependencies": {
3132
"@bearstudio/ui-state": "1.1.0",

0 commit comments

Comments
Β (0)