chore: update CHANGELOG for v0.0.5post1 with Docker image tagging improvements and Gradio bugfixes

This commit is contained in:
remsky 2025-01-12 23:35:13 -07:00
parent 4e93af8f96
commit 1e45a3107f

View file

@ -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