Skip to content

Commit

Permalink
fix python27 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markreidvfx committed Aug 31, 2023
1 parent 766178d commit 6231167
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
name: wheel
path: dist/*.whl

test:
test-wheels:
runs-on: ${{ matrix.os }}
needs: build

strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
Expand All @@ -72,8 +72,34 @@ jobs:
python -m pip install dist/*
python -m unittest discover tests -v
test-wheels-27:
runs-on: ubuntu-latest
container: coatldev/six:latest
needs: build

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup FFmpeg
uses: FedericoCarboni/[email protected]

- name: Download wheel
uses: actions/download-artifact@v3
with:
name: wheel
path: dist

- name: Run Unit Tests
shell: bash
run: |
python2 -m pip install dist/*
python2 -m unittest discover tests -v
latest-release:
needs: test
needs:
- test-wheels
- test-wheels-27
runs-on: ubuntu-latest
steps:
- name: Download sdist
Expand Down

0 comments on commit 6231167

Please sign in to comment.