Skip to content

feat: device.generateViewHierarchyXml support WebViews #2531

feat: device.generateViewHierarchyXml support WebViews

feat: device.generateViewHierarchyXml support WebViews #2531

Workflow file for this run

name: Rapid Test
on:
push:
branches: [master]
paths:
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
pull_request:
branches: [master]
paths:
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Bootstrap Lerna
run: npx lerna@6 bootstrap --no-ci
env:
DETOX_DISABLE_POD_INSTALL: true
DETOX_DISABLE_POSTINSTALL: true
- name: Lint source project
run: npm run lint
working-directory: detox
- name: Lint test project
run: npm run lint
working-directory: detox/test
- name: Typings
run: npm test
working-directory: detox/test
- name: Unit tests
run: npm run unit
working-directory: detox
- name: Integration tests
run: npm run integration
working-directory: detox/test
- name: Generation tests
run: npm test
working-directory: generation
- name: Pack Allure results
run: zip -r allure-results.zip detox/allure-results detox/test/allure-results generation/allure-results
- name: Upload Allure results
uses: actions/upload-artifact@v3
with:
name: allure-results-linux
path: allure-results.zip
windows:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Bootstrap Lerna (Light)
run: npx lerna@6 bootstrap --no-ci --include-dependents --include-dependencies --scope=detox-test
env:
DETOX_DISABLE_POD_INSTALL: true
DETOX_DISABLE_POSTINSTALL: true
- name: Unit tests
run: npm run unit -- --coverageThreshold "{}"
working-directory: detox
- name: Integration tests
run: npm run integration
working-directory: detox/test
- name: Pack Allure results
run: |
Compress-Archive -Path detox/allure-results -DestinationPath allure-results.zip
shell: pwsh
- name: Upload Allure results
uses: actions/upload-artifact@v3
with:
name: allure-results-windows
path: allure-results.zip