Skip to content

fix: g2p main is about to be 2.0, but we still want 1.1 on Heroku #31

fix: g2p main is about to be 2.0, but we still want 1.1 on Heroku

fix: g2p main is about to be 2.0, but we still want 1.1 on Heroku #31

Workflow file for this run

# This matrix testing is for versions not already exercised by tests.yml
# For regular pushes, we just test the baseline Python version, but when pushing
# to main or release, we want to exercise the full matrix.
name: Run Matrix Tests
on:
push:
branches: [main, release]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
exclude:
# We're not compatible with Python 3.11 on Windows yet.
# We get a compilation error about libxml2 when building lxml.
- os: windows-latest
python-version: "3.11"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: FedericoCarboni/setup-ffmpeg@v2
id: setup-ffmpeg
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
pip install wheel
pip install -r requirements.txt -r requirements.dev.txt -r requirements.ci.txt -e .
- name: Run tests
run: cd test && python run.py prod