Skip to content

pydantic

pydantic #19

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
- develop
- '**-develop'
pull_request:
branches:
- main
- develop
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.7.x, 3.8.x, 3.9.x,3.10.x ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: Install dependencies
run: |
pip install -r subtitle_utils/requirements.txt
python -m pip install pytest
- name: Run tests
run: |
cd test
pytest