mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
chore: update CHANGELOG for v0.0.5post1 with Docker image tagging improvements and Gradio bugfixes
This commit is contained in:
parent
4e93af8f96
commit
1e45a3107f
1 changed files with 41 additions and 41 deletions
82
.github/workflows/ci.yml
vendored
82
.github/workflows/ci.yml
vendored
|
@ -1,51 +1,51 @@
|
||||||
name: CI
|
# name: CI
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: [ "develop", "master" ]
|
# branches: [ "develop", "master" ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ "develop", "master" ]
|
# branches: [ "develop", "master" ]
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
test:
|
# test:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
python-version: ["3.9", "3.10", "3.11"]
|
# python-version: ["3.9", "3.10", "3.11"]
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
# - name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
# uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ matrix.python-version }}
|
# python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Set up pip cache
|
# - name: Set up pip cache
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: ~/.cache/pip
|
# path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
|
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
# ${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Install PyTorch CPU
|
# - name: Install PyTorch CPU
|
||||||
run: |
|
# run: |
|
||||||
python -m pip install --upgrade pip
|
# python -m pip install --upgrade pip
|
||||||
pip install torch --index-url https://download.pytorch.org/whl/cpu
|
# pip install torch --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: |
|
# run: |
|
||||||
pip install ruff pytest-cov
|
# pip install ruff pytest-cov
|
||||||
pip install -r requirements.txt
|
# pip install -r requirements.txt
|
||||||
pip install -r requirements-test.txt
|
# pip install -r requirements-test.txt
|
||||||
|
|
||||||
- name: Lint with ruff
|
# - name: Lint with ruff
|
||||||
run: |
|
# run: |
|
||||||
ruff check .
|
# ruff check .
|
||||||
|
|
||||||
|
|
||||||
- name: Test with pytest
|
# - name: Test with pytest
|
||||||
run: |
|
# run: |
|
||||||
pytest --asyncio-mode=auto --cov=api --cov-report=term-missing
|
# pytest --asyncio-mode=auto --cov=api --cov-report=term-missing
|
||||||
|
|
Loading…
Add table
Reference in a new issue