Skip to content

Commit

Permalink
Add example on how to install and run on M$ (#4043)
Browse files Browse the repository at this point in the history
* Add example on how to install and run on M$

* simplify

* hepp

* viewport
  • Loading branch information
soulgalore committed Dec 28, 2023
1 parent aff9a53 commit 6cd9188
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/windowsFull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Example to run sitespeed.io on Windows
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sitespeed.io
run: npm install sitespeed.io -g
shell: bash
- name: Install dependencies
run: |
choco install ffmpeg
choco outdated
choco install python
choco install googlechrome
python -m pip install --upgrade --user pip
python -m pip install --upgrade --user setuptools
python -m pip install --user pyssim OpenCV-Python Numpy scipy
python -m pip --version
python -m pip show Pillow
python -m pip show pyssim
shell: cmd
- name: Example running test on Windows
run: sitespeed.io -n 1 --video --visualMetrics --viewPort 1024x768 https://www.sitespeed.io/
shell: bash

0 comments on commit 6cd9188

Please sign in to comment.