mirror of
https://github.com/timerring/bilive.git
synced 2026-09-02 19:03:47 +08:00
31
.github/workflows/test.yml
vendored
Normal file
31
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Python Dependency Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
dependency-check:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.9', '3.10', '3.11', '3.12']
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then
|
||||
pip install -r requirements.txt
|
||||
fi
|
||||
continue-on-error: false
|
||||
@@ -2,12 +2,12 @@ blrec==2.0.0b4
|
||||
ffmpeg_python==0.2.0
|
||||
librosa==0.9.1
|
||||
more_itertools==10.6.0
|
||||
numba==0.55.1
|
||||
numpy==1.21.6
|
||||
numba>=0.55.1
|
||||
numpy>=1.21.6, <1.26.4
|
||||
pysrt==1.1.2
|
||||
six==1.16.0
|
||||
tiktoken==0.4.0
|
||||
torch==1.11.0
|
||||
torch>=1.11.0, <2.3.0
|
||||
triton==3.1.0
|
||||
zhconv==1.4.3
|
||||
Pillow>=5.2.0
|
||||
|
||||
Reference in New Issue
Block a user