Add a Windows test job

This commit is contained in:
Daniel Imms
2020-02-15 06:40:04 -08:00
parent 1a6ec0d768
commit eb82346ce7
+26
View File
@@ -103,6 +103,32 @@ jobs:
- script: yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- job: Windows_IntegrationTests
pool:
vmImage: 'vs2017-win2016'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- task: CacheBeta@1
inputs:
key: yarn2 | $(Agent.OS) | yarn.lock
path: node_modules
displayName: Cache node modules
- script: yarn --frozen-lockfile
displayName: 'Install dependencies and build'
- script: |
yarn start &
sleep 10
displayName: 'Start test server'
- script: yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- script: yarn test-api-firefox --headless --forbid-only
displayName: 'Integration tests (Firefox)'
- script: yarn test-api-webkit --headless --forbid-only
displayName: 'Integration tests (Webkit)'
- job: macOS_IntegrationTests
pool:
vmImage: 'macOS-10.15'