Skip to content

Merge branch 'main' into dependabot/npm_and_yarn/sitespeed.io-34.0.1 #1156

Merge branch 'main' into dependabot/npm_and_yarn/sitespeed.io-34.0.1

Merge branch 'main' into dependabot/npm_and_yarn/sitespeed.io-34.0.1 #1156

name: "Regression Test - Verify Translation(s)"
on:
push:
paths-ignore:
- '**.md'
- 'software-full.json'
- 'software-sources.json'
- '**update-software.yml'
- 'update_software.py'
- '**software-rules.json'
- 'Dockerfile'
- '**regression-test-docker-image.yml'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
#os: [ubuntu-latest, windows-latest]
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Setup dependencies using pip
run: pip install -r requirements.txt
- if: ${{ matrix.os == 'ubuntu-latest' }}
name: Verifing Translation(s) - LINUX
run: python tools/verify_translations.py
- if: ${{ matrix.os == 'windows-latest' }}
name: Verifing Translation(s) - WINDOWS
run: python tools\verify_translations.py
- if: ${{ matrix.os == 'windows-latest' }}
name: Git Add any changes to Translation(s) - WINDOWS
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '7h3Rabbit@users.noreply.github.com'
git add locales/
git commit -m "Added changed Translation(s)"
git push