mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
ci: fix automated app CI workflow (#10218)
This commit is contained in:
4
.github/workflows/apps_automated.yml
vendored
4
.github/workflows/apps_automated.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
java-version: '11'
|
java-version: '11'
|
||||||
|
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
|
|
||||||
- name: Install NativeScript
|
- name: Install NativeScript
|
||||||
run: |
|
run: |
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Start iOS Simulator
|
- name: Start iOS Simulator
|
||||||
if: ${{ always() && !cancelled() }} # run iOS tests even if Android tests failed
|
if: ${{ always() && !cancelled() }} # run iOS tests even if Android tests failed
|
||||||
uses: futureware-tech/simulator-action@v1
|
uses: futureware-tech/simulator-action@v2
|
||||||
with:
|
with:
|
||||||
model: 'iPhone 13 Pro Max'
|
model: 'iPhone 13 Pro Max'
|
||||||
os_version: '>=15.0'
|
os_version: '>=15.0'
|
||||||
|
@ -1 +1,6 @@
|
|||||||
legacy-peer-deps=true
|
legacy-peer-deps=true
|
||||||
|
|
||||||
|
# npm 9+ this defaults to `true` meaning `file:` dependencies are packed and then installed
|
||||||
|
# but since we want to link the source files in this case, we disable this behavior and
|
||||||
|
# opt to link the dependency as-is instead. (eg. @nativescript/core)
|
||||||
|
install-links=false
|
||||||
|
@ -18,6 +18,7 @@ const spawned_process = spawn(
|
|||||||
"run",
|
"run",
|
||||||
`apps-automated:${platform}`,
|
`apps-automated:${platform}`,
|
||||||
// "--log=trace",
|
// "--log=trace",
|
||||||
|
// `--flags="--log=trace"`,
|
||||||
"--timeout=600" // 10 minutes, booting avds on CI is very slow...
|
"--timeout=600" // 10 minutes, booting avds on CI is very slow...
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user