Skip to content

Commit

Permalink
nesting will have to wait :'(
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel committed Feb 3, 2021
1 parent 4bfebad commit 548a7df
Showing 1 changed file with 42 additions and 8 deletions.
50 changes: 42 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,56 @@ on:
- "*.txt"

jobs:
test-with-otio:
test-otio-0130:
env:
plugin_name: "mlt_xml"

name: "Test in OpenTimelineIO"
name: "OpenTimelineIO 0.13.0"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.7, 3.8]
otio-versions: [0.12.1, 0.13.0]
python-version: [ 2.7, 3.7, 3.8 ]

steps:
- name: Setup otio version
with:
otio-version: ${{ matrix.otio-version }}
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov -V OpenTimelineIO==0.13.0
- name: Install Plugin
run: |
pip install -e .
- name: Lint with flake8
run: |
flake8 --show-source --statistics
- name: Test with pytest
run: |
pytest
- name: Check registration of plugin
run: |
[[ ! -z $(otiopluginfo mlt_xml | grep ${{ env.plugin_name }}) ]]
test-otio-0121:
env:
plugin_name: "mlt_xml"

name: "OpenTimelineIO 0.12.1"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.7, 3.8]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -42,7 +76,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov -V OpenTimelineIO==${{ matrix.otio-version }}
pip install flake8 pytest pytest-cov -V OpenTimelineIO==0.12.1
- name: Install Plugin
run: |
Expand Down

0 comments on commit 548a7df

Please sign in to comment.