Fix how we read the fonts from the package #119
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: Pull request check | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- main | |
env: | |
MY_VIDEO: "https://www.youtube.com/watch?v=19eanlakPn8" | |
jobs: | |
check: | |
name: Check style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry==1.3.2 | |
poetry config virtualenvs.create false --local | |
poetry install | |
- name: Run Flake8 | |
run: pflake8 . | |
- name: Run iSort | |
run: isort . --check-only | |
- name: Run Black | |
run: black . --check | |
- uses: FedericoCarboni/setup-ffmpeg@v2 | |
id: setup-ffmpeg | |
- name: Test video download | |
run: broll yt ${{ env.MY_VIDEO }} |