lowered number of years for sources #739
Workflow file for this run
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: "Regression Test - Quality on frontend (Yellow Lab Tools) Test" | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'software-full.json' | |
- 'software-sources.json' | |
- '**update-software.yml' | |
- 'update_software.py' | |
- 'SAMPLE-software-rules.json' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
config: ['ylt_use_api=False,review_show_improvements_only=True'] | |
version: [17] | |
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 | |
- name: Setup node (ONLY used for Yellow Lab Tools) | |
uses: actions/setup-node@v4 | |
- name: Setup node dependencies (ONLY used for Yellow Lab Tools) | |
run: npm install -g node-gyp | |
- if: matrix.os == 'ubuntu-latest' | |
name: Setup libjpeg and fontconfig (ONLY used for Yellow Lab Tools) - LINUX | |
run: sudo apt-get install libjpeg-dev libfontconfig | |
shell: bash | |
- name: Setup yellowlabtools npm package (ONLY used for Yellow Lab Tools) | |
run: npm install yellowlabtools | |
- if: ${{ matrix.os == 'ubuntu-latest' }} | |
name: Setup config (using SAMPLE-config.py as config.py) - LINUX | |
run: python .github/workflows/verify_result.py -c ${{ matrix.config }} | |
- if: ${{ matrix.os == 'windows-latest' }} | |
name: Setup config (using SAMPLE-config.py as config.py) - WINDOWS | |
run: python .github\workflows\verify_result.py -c ${{ matrix.config }} | |
- if: ${{ matrix.os == 'ubuntu-latest' }} | |
name: RUNNING TEST - LINUX | |
run: | | |
python default.py -t ${{ matrix.version }} -r -u https://webperf.se/ -o .github/workflows/testresult-${{ matrix.version }}.json | |
python .github/workflows/verify_result.py -t ${{ matrix.version }} | |
- if: ${{ matrix.os == 'windows-latest' }} | |
name: RUNNING TEST - WINDOWS | |
run: | | |
python default.py -t ${{ matrix.version }} -r -u https://webperf.se/ -o .github\workflows\testresult-${{ matrix.version }}.json | |
python .github\workflows\verify_result.py -t ${{ matrix.version }} | |