Skip to content

Add support for subtitles from multiple languages #992

Add support for subtitles from multiple languages

Add support for subtitles from multiple languages #992

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install
run: |
sudo apt-get update
python3 -m venv .env
source .env/bin/activate
python -m pip install -U pip
make install-dev
sudo apt-get install -y ffmpeg
- name: Lint
run: |
source .env/bin/activate
make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
sudo apt-get update
python3 -m venv .env
source .env/bin/activate
make install
make install-dev
sudo apt-get install -y ffmpeg
- name: Unit tests
run: |
source .env/bin/activate
make test