python 3.12 support (#3652)

This commit is contained in:
Bowen Liang
2024-04-22 11:41:13 +08:00
committed by GitHub
parent 71cc0074ef
commit aadebd6d23
2 changed files with 9 additions and 6 deletions

View File

@@ -8,6 +8,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
env:
OPENAI_API_KEY: sk-IamNotARealKeyJustForMockTestKawaiiiiiiiiii
@@ -37,10 +40,10 @@ jobs:
with:
packages: ffmpeg
- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
./api/requirements.txt