Skip to content

Commit

Permalink
Merge branch 'main' into sitespeed-browsertime-postjs-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Dec 29, 2024
2 parents 61041b8 + 8f2f312 commit 3142e4b
Show file tree
Hide file tree
Showing 19 changed files with 169 additions and 12 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-a11y-statement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-google-lighthouse-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-pa11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-sitespeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ on:
- '**software-sources.json'
- '**update-software.yml'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-standard-files.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-standard-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-tracking.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/regression-test-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ on:
- '**update_software_helper.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-404.yml'
- '**regression-test-a11y-statement.yml'
- '**regression-test-css.yml'
- '**regression-test-docker-image.yml'
- '**regression-test-email.yml'
- '**regression-test-google-lighthouse-based.yml'
- '**regression-test-html.yml'
- '**regression-test-http.yml'
- '**regression-test-lint-css.yml'
- '**regression-test-pa11y.yml'
- '**regression-test-sitespeed-browsertime-har.yml'
- '**regression-test-sitespeed.yml'
- '**regression-test-software.yml'
- '**regression-test-standard-files.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions tests/a11y_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ def check_item(item, root_item, org_url_start, global_translation, local_transla
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
item['url'],
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/lint_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ def get_data_for_url(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/page_not_found.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def get_http_content_with_status(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/software.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def get_rating_from_sitespeed(url, local_translation, global_translation):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(result_folder_name, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/tracking_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,6 @@ def get_rating_from_sitespeed(url, local_translation, global_translation):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(result_folder_name, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/w3c_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ def get_data_for_url(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down

0 comments on commit 3142e4b

Please sign in to comment.