Only start server once in pipelines

This commit is contained in:
Daniel Imms
2020-02-15 05:06:44 -08:00
parent 3b51565a13
commit 2b7080294d
+8 -18
View File
@@ -100,17 +100,12 @@ jobs:
- script: |
yarn start &
sleep 10
yarn test-api-chromium --headless --forbid-only
displayName: 'Start test server'
- script: yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- script: |
yarn start &
sleep 10
yarn test-api-firefox --headless --forbid-only
- script: yarn test-api-firefox --headless --forbid-only
displayName: 'Integration tests (Firefox)'
- script: |
yarn start &
sleep 10
yarn test-api-webkit --headless --forbid-only
- script: yarn test-api-webkit --headless --forbid-only
displayName: 'Integration tests (Webkit)'
- job: macOS_IntegrationTests
@@ -126,17 +121,12 @@ jobs:
- script: |
yarn start &
sleep 10
yarn test-api-chromium --headless --forbid-only
displayName: 'Start test server'
- script: yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- script: |
yarn start &
sleep 10
yarn test-api-firfox --headless --forbid-only
- script: yarn test-api-firfox --headless --forbid-only
displayName: 'Integration tests (Firefox)'
- script: |
yarn start &
sleep 10
yarn test-api-webkit --headless --forbid-only
- script: yarn test-api-webkit --headless --forbid-only
displayName: 'Integration tests (Webkit)'
- job: Release