Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
472 changes: 236 additions & 236 deletions .github/workflows/oke-cicd.yaml

Large diffs are not rendered by default.

148 changes: 74 additions & 74 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
name: PR Safety

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
name: Lint and format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip

- name: Install lint tools
run: |
python -m pip install --upgrade pip
python -m pip install ruff==0.15.9

- name: Run ruff lint
run: ruff check .

- name: Check formatting
run: ruff format --check docs-agent-mcp/mcp-server tests

compile:
name: Python compile check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Compile Python sources
run: |
python -m compileall \
docs-agent-mcp/pipelines \
docs-agent-mcp/mcp-server \
legacy/server \
legacy/server-https \
scripts \
tests

test:
name: Pytest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: requirements-test.txt

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt

- name: Run tests
run: pytest -v --tb=short
name: PR Safety
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint and format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install lint tools
run: |
python -m pip install --upgrade pip
python -m pip install ruff==0.15.9
- name: Run ruff lint
run: ruff check .
- name: Check formatting
run: ruff format --check kagent-feast-mcp/mcp-server tests
compile:
name: Python compile check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Compile Python sources
run: |
python -m compileall \
kagent-feast-mcp/pipelines \
kagent-feast-mcp/mcp-server \
legacy/server \
legacy/server-https \
scripts \
tests
test:
name: Pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: requirements-test.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
- name: Run tests
run: pytest -v --tb=short
Loading