Skip to content

UbuntuMono v1.001 variable font #6314

UbuntuMono v1.001 variable font

UbuntuMono v1.001 variable font #6314

Workflow file for this run

name: Google Fonts QA
on:
pull_request:
branches:
- main
jobs:
diffbrowsers:
name: Build Google Fonts
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.10']
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install packages
run: |
pip install gftools[qa] pytest
shell: bash
- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
- name: Setup Chrome Driver
uses: nanasess/setup-chromedriver@master
with:
# TODO: Unpin when nanasess/setup-chromedriver#190 is fixed:
# https://github.com/nanasess/setup-chromedriver/issues/190
chromedriver-version: 114.0.5735.90
- name: Setup Firefox
uses: m4rc1e/setup-firefox@master
with:
firefox-version: '84.0'
- name: Setup Firefox Driver
uses: m4rc1e/setup-geckodriver@master
- name: Run Diffbrowsers
run: |
mkdir out
python -m youseedee 0x078A
chromedriver --url-base=/wd/hub &
python3 .ci/run.py --render
env:
PYTHONIOENCODING: 'utf-8'
PYTHONUTF8: '1'
shell: bash
- name: Check file existence
id: check_files
uses: andstor/[email protected]
with:
files: "out"
- name: Upload check results
if: steps.check_files.outputs.files_exists == 'true'
uses: actions/upload-artifact@v1
with:
name: qa
path: out/
diffenator:
name: Diffenate fonts
runs-on: ubuntu-latest
steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install packages
# The --pre flag below will ensure we use the latest Font Bakery pre-releases
# and benefit from its newest checks:
run: |
pip install --upgrade pip
pip install --pre fontbakery[googlefonts]
pip install gftools[qa] pytest
shell: bash
- name: Run Diffenator and Fontbakery
run: |
mkdir out
python -m youseedee 0x078A
python3 .ci/run.py --pr-number $PR_NUMBER --pr-url-body https://www.github.com/google/fonts/pull/
env:
PYTHONIOENCODING: 'utf-8'
PYTHONUTF8: '1'
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.number }}
shell: bash
- name: Check file existence
id: check_files
uses: andstor/[email protected]
with:
files: "out"
- name: Upload check results
if: steps.check_files.outputs.files_exists == 'true'
uses: actions/upload-artifact@v1
with:
name: qa
path: out/