Bump fonttools from 4.54.1 to 4.55.0 #17105
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: Run Tests | |
on: ['push', 'pull_request'] | |
jobs: | |
mypy: | |
name: mypy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.6' | |
cache: 'pipenv' | |
- uses: PennyDreadfulMTG/setup-linters@main | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv wheel | |
if [ -f Pipfile ]; then pipenv sync --dev; fi | |
- name: Run mypy | |
run: pipenv run python dev.py mypy | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pipenv' | |
- uses: PennyDreadfulMTG/setup-linters@main | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv wheel pydantic | |
if [ -f Pipfile ]; then pipenv sync --dev; fi | |
- name: Run flake8 | |
run: pipenv run python dev.py lint | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
env: | |
mysql_user: root | |
mysql_passwd: bad-password | |
mysql_host: 127.0.0.1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pipenv' | |
- uses: getong/[email protected] | |
with: | |
mysql root password: bad-password | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv wheel | |
if [ -f Pipfile ]; then pipenv sync --dev; fi | |
- uses: PennyDreadfulMTG/setup-linters@main | |
- run: pipenv run init-cards | |
- name: Run pytest | |
run: | | |
pipenv run pytest | |
pipenv run python dev.py upload-coverage | |
- name: Publish Test Report | |
uses: mikepenz/[email protected] | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/TestResults.xml' | |
check_name: 'Pytest Results' | |
jslint: | |
name: jslint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pipenv' | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 18.16.0 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv wheel | |
python build.py | |
- name: Run jslint | |
run: pipenv run python dev.py jslint |