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:
|
||||
push:
|
||||
branches: [ "develop", "master" ]
|
||||
pull_request:
|
||||
branches: [ "develop", "master" ]
|
||||
# on:
|
||||
# push:
|
||||
# branches: [ "develop", "master" ]
|
||||
# pull_request:
|
||||
# branches: [ "develop", "master" ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11"]
|
||||
fail-fast: false
|
||||
# jobs:
|
||||
# test:
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# matrix:
|
||||
# python-version: ["3.9", "3.10", "3.11"]
|
||||
# fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
# - name: Set up Python ${{ matrix.python-version }}
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Set up pip cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
# - name: Set up pip cache
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: ~/.cache/pip
|
||||
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-pip-
|
||||
|
||||
- name: Install PyTorch CPU
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install torch --index-url https://download.pytorch.org/whl/cpu
|
||||
# - name: Install PyTorch CPU
|
||||
# run: |
|
||||
# python -m pip install --upgrade pip
|
||||
# pip install torch --index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install ruff pytest-cov
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-test.txt
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install ruff pytest-cov
|
||||
# pip install -r requirements.txt
|
||||
# pip install -r requirements-test.txt
|
||||
|
||||
- name: Lint with ruff
|
||||
run: |
|
||||
ruff check .
|
||||
# - name: Lint with ruff
|
||||
# run: |
|
||||
# ruff check .
|
||||
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest --asyncio-mode=auto --cov=api --cov-report=term-missing
|
||||
# - name: Test with pytest
|
||||
# run: |
|
||||
# pytest --asyncio-mode=auto --cov=api --cov-report=term-missing
|
||||
|
|
Loading…
Add table
Reference in a new issue