Skip to content

Commit e0a8181

Browse files
committed
chore: add requirements.txt and GitHub Actions CI workflow, update conftest.py version
1 parent e31a7c0 commit e0a8181

3 files changed

Lines changed: 58 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Plugin CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
validate:
11+
name: Validate and Test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.10'
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.txt
26+
27+
- name: Lint with Ruff
28+
run: |
29+
ruff check lib/ tests/
30+
31+
- name: Run Pytest
32+
run: |
33+
pytest tests/ -v
34+
35+
- name: Check Plugin Structure
36+
run: |
37+
if [ ! -f .claude-plugin/plugin.json ]; then
38+
echo "plugin.json missing!"
39+
exit 1
40+
fi
41+
42+
# Verify required directories exist
43+
for dir in commands agents skills; do
44+
if [ ! -d "$dir" ]; then
45+
echo "$dir directory missing!"
46+
exit 1
47+
fi
48+
done
49+
50+
echo "Plugin structure validation passed."

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Requirements for Autonomous Agent Plugin CLI & Servers
2+
flask>=2.0.0
3+
flask-cors>=3.0.0
4+
pytest>=7.0.0
5+
pytest-cov>=4.0.0
6+
ruff>=0.1.0
7+
requests>=2.28.0

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Test configuration and fixtures for Autonomous Agent Plugin v7.9.0
2+
Test configuration and fixtures for Autonomous Agent Plugin v7.19.0
33
44
This module provides common test utilities, fixtures, and configuration
55
for testing the autonomous agent plugin with four-tier architecture.

0 commit comments

Comments
 (0)