Test out Windows tests

This commit is contained in:
Peter Hedenskog 2020-06-02 12:28:10 +02:00 committed by GitHub
parent 14665d6d96
commit afa5144880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/windows.yml vendored Normal file
View File

@ -0,0 +1,26 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Run browser test Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: choco install chromedriver
- run: choco install googlechrome --ignore-checksums
- run: choco install microsoft-edge
- run: npm install
- run: bin/sitespeed.js -b chrome https://www.sitespeed.io/ --cpu
- run: bin/sitespeed.js -b edge https://www.sitespeed.io/