зеркало из https://github.com/nextcloud/text.git
Merge pull request #2494 from nextcloud/ci/cypress-speedup
Make cypress CI faster
This commit is contained in:
Коммит
928aa0d343
|
@ -20,7 +20,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [14]
|
||||
# containers: [1, 2, 3]
|
||||
containers: [1, 2, 3, 4]
|
||||
php-versions: [ '7.4' ]
|
||||
databases: [ 'sqlite' ]
|
||||
server-versions: [ 'master' ]
|
||||
|
@ -54,12 +54,6 @@ jobs:
|
|||
ref: ${{ matrix.server-versions }}
|
||||
path: apps/viewer
|
||||
|
||||
- name: npm install, build viewer in testing mode
|
||||
working-directory: apps/viewer
|
||||
run: |
|
||||
npm ci
|
||||
TESTING=true npm run build
|
||||
|
||||
- name: Checkout ${{ env.APP_NAME }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
@ -105,7 +99,7 @@ jobs:
|
|||
uses: cypress-io/github-action@v3
|
||||
with:
|
||||
record: true
|
||||
parallel: false
|
||||
parallel: true
|
||||
wait-on: '${{ env.CYPRESS_baseUrl }}'
|
||||
working-directory: 'apps/${{ env.APP_NAME }}'
|
||||
config: defaultCommandTimeout=10000,video=false
|
||||
|
|
Загрузка…
Ссылка в новой задаче