Skip to content

Commit

Permalink
Merge branch 'main' into npm-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit authored Feb 3, 2025
2 parents fbd1d90 + cfdd75a commit 987d5e6
Show file tree
Hide file tree
Showing 18 changed files with 187 additions and 184 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -23,4 +23,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --generated-members json,ssl,datetime --disable C0114
pylint $(git ls-files '*.py') --generated-members json,ssl,datetime --disable C0114 --errors-only
6 changes: 4 additions & 2 deletions .github/workflows/regression-test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ jobs:
run: |
version=$(docker run ${{ env.TEST_TAG }} python --version)
echo "Python version: $version"
if [[ "$version" != "Python 3.13"* ]]; then
echo "Error: Default python version is not 3.13 based, was we unable to change default version?"
if [[ "$version" != "Python 3.10"* ]] && [[ "$version" != "Python 3.11"* ]] && [[ "$version" != "Python 3.12"* ]] && [[ "$version" != "Python 3.13"* ]]; then
echo "Error: Default python version is not one of the allowed versions (3.10, 3.11, 3.12, 3.13)"
exit 1
fi
- name: Check if webperf_core help command works
if: always()
run: |
help=$(docker run ${{ env.TEST_TAG }} python default.py -h)
echo "$help"
Expand All @@ -48,6 +49,7 @@ jobs:
exit 1
fi
- name: Check if dependency tool works
if: always()
run: |
help=$(docker run ${{ env.TEST_TAG }} python default.py --dependency)
echo "$help"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regression-test-google-lighthouse-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
- if: ${{ matrix.os == 'ubuntu-latest' && matrix.version == 1 }}
name: RUNNING TEST - LINUX
run: |
node node_modules/sitespeed.io/bin/sitespeed.js -b chrome --xvfb --plugins.remove screenshot --plugins.remove html --plugins.remove metrics --browsertime.screenshot false --screenshot false --screenshotLCP false --browsertime.screenshotLCP false --chrome.cdp.performance false --browsertime.chrome.timeline false --videoParams.createFilmstrip false --visualMetrics false --visualMetricsPerceptual false --visualMetricsContentful false --browsertime.headless true --browsertime.chrome.includeResponseBodies all --utc true --browsertime.chrome.args ignore-certificate-errors -n 1 --plugins.add ../../../@sitespeed.io/plugin-lighthouse/index.js --plugins.add ../../../webperf-sitespeedio-plugin/index.js --sustainable.enable=true https://webperf.se?webperf-core-test-${{ matrix.version }}
node node_modules/sitespeed.io/bin/sitespeed.js -b chrome --xvfb --plugins.remove screenshot --plugins.remove html --plugins.remove metrics --browsertime.screenshot false --screenshot false --screenshotLCP false --browsertime.screenshotLCP false --chrome.cdp.performance false --browsertime.chrome.timeline false --videoParams.createFilmstrip false --visualMetrics false --visualMetricsPerceptual false --visualMetricsContentful false --browsertime.headless true --browsertime.chrome.includeResponseBodies all --utc true --browsertime.chrome.args ignore-certificate-errors -n 1 --plugins.add ../../../@sitespeed.io/plugin-lighthouse/index.js --plugins.add ../../../webperf-sitespeedio-plugin/index.js https://webperf.se?webperf-core-test-${{ matrix.version }}
- if: ${{ matrix.os == 'windows-latest' && matrix.version == 1 }}
name: RUNNING TEST - WINDOWS
run: |
node node_modules\sitespeed.io\bin\sitespeed.js -b chrome --plugins.remove screenshot --plugins.remove html --plugins.remove metrics --browsertime.screenshot false --screenshot false --screenshotLCP false --browsertime.screenshotLCP false --chrome.cdp.performance false --browsertime.chrome.timeline false --videoParams.createFilmstrip false --visualMetrics false --visualMetricsPerceptual false --visualMetricsContentful false --browsertime.headless true --browsertime.chrome.includeResponseBodies all --utc true --browsertime.chrome.args ignore-certificate-errors -n 1 --plugins.add ../../../@sitespeed.io/plugin-lighthouse/index.js --plugins.add ../../../webperf-sitespeedio-plugin/index.js --sustainable.enable=true https://webperf.se?webperf-core-test-${{ matrix.version }}
node node_modules\sitespeed.io\bin\sitespeed.js -b chrome --plugins.remove screenshot --plugins.remove html --plugins.remove metrics --browsertime.screenshot false --screenshot false --screenshotLCP false --browsertime.screenshotLCP false --chrome.cdp.performance false --browsertime.chrome.timeline false --videoParams.createFilmstrip false --visualMetrics false --visualMetricsPerceptual false --visualMetricsContentful false --browsertime.headless true --browsertime.chrome.includeResponseBodies all --utc true --browsertime.chrome.args ignore-certificate-errors -n 1 --plugins.add ../../../@sitespeed.io/plugin-lighthouse/index.js --plugins.add ../../../webperf-sitespeedio-plugin/index.js https://webperf.se?webperf-core-test-${{ matrix.version }}
Loading

0 comments on commit 987d5e6

Please sign in to comment.