new versions #3106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Docker | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the container | |
run: | | |
docker buildx install | |
docker buildx build --load --platform linux/amd64 -t sitespeedio/browsertime . | |
- name: Test Chrome | |
run: docker run --rm sitespeedio/browsertime https://www.sitespeed.io -n 1 -b chrome | |
- name: Test Chrome with preWarmServer | |
run: docker run --rm sitespeedio/browsertime https://www.sitespeed.io -n 1 -b chrome --preWarmServer | |
- name: Test Firefox | |
run: docker run --rm sitespeedio/browsertime https://www.sitespeed.io -n 1 -b firefox | |
- name: Test Edge | |
run: docker run --rm sitespeedio/browsertime https://www.sitespeed.io -n 1 -b edge | |
- name: Test WebPageReplay | |
run: docker run --cap-add=NET_ADMIN --rm -e REPLAY=true -e LATENCY=100 sitespeedio/browsertime https://www.sitespeed.io -n 1 -b chrome | |
- name: Test Chrome with multi pages | |
run: docker run --rm -v "$(pwd)":/browsertime sitespeedio/browsertime test/data/navigationscript/simple.cjs -n 1 -b chrome | |