diff --git a/.github/workflows/browser-beta.yml b/.github/workflows/browser-beta.yml index 34bfbcc32..6fd0cc174 100644 --- a/.github/workflows/browser-beta.yml +++ b/.github/workflows/browser-beta.yml @@ -49,6 +49,6 @@ jobs: chrome --version firefox --version - name: Test Chrome Beta - run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb --chrome.binaryPath $(which chrome) + run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io --xvfb --chrome.binaryPath $(which chrome) - name: Test Firefox Beta - run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb + run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io --xvfb diff --git a/.github/workflows/browser-dev.yml b/.github/workflows/browser-dev.yml index a45d5bffa..18a6c2cb7 100644 --- a/.github/workflows/browser-dev.yml +++ b/.github/workflows/browser-dev.yml @@ -49,6 +49,6 @@ jobs: chrome --version firefox --version - name: Test Chrome dev - run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb --chrome.binaryPath $(which chrome) + run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io --xvfb --chrome.binaryPath $(which chrome) - name: Test Firefox dev - run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb \ No newline at end of file + run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io --xvfb \ No newline at end of file diff --git a/.github/workflows/linux-firefox-throttle.yml b/.github/workflows/linux-firefox-throttle.yml new file mode 100644 index 000000000..16b0bfb26 --- /dev/null +++ b/.github/workflows/linux-firefox-throttle.yml @@ -0,0 +1,46 @@ +name: Linux browsers Firefox throttle +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - name: Use Node.js + uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 + with: + node-version: '24.x' + cache: 'npm' + - name: Install Firefox + uses: browser-actions/setup-firefox@fcf821c621167805dd63a29662bd7cb5676c81a8 # latest + with: + firefox-version: '149.0' + - name: Install Browsertime + run: npm ci + - name: Install ffmpeg + uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # v1.2.3 + with: + version: '7.1' + - name: Set up Python + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + with: + python-version: '3.12' + cache: 'pip' + - name: Install dependencies + run: | + sudo apt-get install net-tools -y + python -m pip install --upgrade pip setuptools==70.0.0 pyssim OpenCV-Python Numpy virtualenv + sudo modprobe ifb numifbs=1 + - name: Browser versions + run: | + firefox --version + - name: Start local HTTP server + run: (npm run start-server&) + # - run: VTENV_OPTS="-p python3" make test + - name: Test Firefox with throttle + run: ./bin/browsertime.js -b firefox -n 1 http://127.0.0.1:3000/simple/ --connectivity.profile cable --connectivity.engine throttle --xvfb diff --git a/.github/workflows/linux-firefox.yml b/.github/workflows/linux-firefox.yml index 1e0dd7502..bdec72a40 100644 --- a/.github/workflows/linux-firefox.yml +++ b/.github/workflows/linux-firefox.yml @@ -61,8 +61,8 @@ jobs: - name: Start local HTTP server run: (npm run start-server&) # - run: VTENV_OPTS="-p python3" make test - - name: Test Firefox with throttle - run: ./bin/browsertime.js -b firefox -n 1 http://127.0.0.1:3000/simple/ --connectivity.profile cable --connectivity.engine throttle --xvfb --firefox.collectMozLog + - name: Test Firefox with collectMozLog + run: ./bin/browsertime.js -b firefox -n 1 http://127.0.0.1:3000/simple/ --xvfb --firefox.collectMozLog - name: Test multi pages run: ./bin/browsertime.js -b firefox test/data/navigationscript/multi.cjs http://127.0.0.1:3000/search/ -n 1 --xvfb - name: Test Firefox Geckoprofiler