Skip to content

Clarify Streamlit screenshot caption #6

Clarify Streamlit screenshot caption

Clarify Streamlit screenshot caption #6

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Lint
run: |
ruff check .
black --check .
isort --check-only .
- name: Tests
run: pytest --cov=app --cov-report=term-missing
- name: Build Docker images
if: github.ref == 'refs/heads/main'
run: |
docker build -f Dockerfile.api -t aiops-copilot-api .
docker build -f Dockerfile.streamlit -t aiops-copilot-streamlit .