some tweaks to the GH Actions setup
-name: Python package
+name: Tests & linting with tox
-on: [push]
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
jobs:
build:
@@ -20,5 +24,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
+ sudo apt-get install mono-runtime libmono-system-windows-forms4.0-cil
+ wget https://github.com/HinTak/Font-Validator/releases/download/FontVal-2.1.2/FontVal-2.1.2-ubuntu-16.04-x64.tgz
+ tar -xvzf ./FontVal-2.1.2-ubuntu-16.04-x64.tgz
+ sudo mv ./FontVal-2.1.2-ubuntu-16.04-x64/FontValidator /usr/local/bin/FontValidator
+
- name: Test with tox
run: tox
