Skip to content

Chatbot interface for models using Gradio (#10) #15

Chatbot interface for models using Gradio (#10)

Chatbot interface for models using Gradio (#10) #15

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]
jobs:
ci:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.10"]
fail-fast: true
steps:
# Checkout the code
- uses: actions/checkout@v4
# Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip" # Caches the installed Python packages
# Install Python dependencies
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with Ruff (Flake8-compatible)
run: |
ruff check src/
- name: Format with Ruff (Black-compatible)
run: |
ruff format src/