Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/global.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Influx using sitespeed.io
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install dependencies
run: npm install ci
- name: Install sitespeed.io
run: |
npm install sitespeed.io -g
- name: Install Chrome
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
google-chrome --version
- name: Setup environment
run: docker compose -f test/docker/docker-compose.yml up -d
- name: Browser versions
run: |
google-chrome --version
- name: Info
run: |
ls -la
- name: Run test with Influx 1.8
run: sitespeed.io https://www.sitespeed.io -n 1 --influxdb.host 127.0.0.1 --xvfb --resultBaseUrl https://result.sitespeed.io --influxdb.annotationScreenshot=true --plugins.add ./lib/index.js
- name: Run test with Influx 2.6.1
run: sitespeed.io https://www.sitespeed.io -n 1 --influxdb.host 127.0.0.1 --influxdb.port 8087 --influxdb.version 2 --influxdb.organisation sitespeed --influxdb.token sitespeed --xvfb --resultBaseUrl https://result.sitespeed.io --influxdb.annotationScreenshot=true --plugins.add ./lib/index.js
7 changes: 1 addition & 6 deletions .github/workflows/linux.yml → .github/workflows/local.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Influx test on Linux
name: Influx using main branch sitespeed.io
on:
push:
branches:
Expand Down Expand Up @@ -29,11 +29,6 @@ jobs:
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
google-chrome --version
- name: Install dependencies
run: |
python -m pip install --upgrade --user pip
python -m pip install --user scipy
python -m pip show scipy
- name: Setup environment
run: docker compose -f test/docker/docker-compose.yml up -d
- name: Browser versions
Expand Down
Loading