Skip to content

Commit 25b0dcb

Browse files
rockyzlclaude
andcommitted
ci: add GitHub Actions (pytest + CLI smoke) and README badges
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c075e1a commit 25b0dcb

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: ["3.10", "3.11", "3.12"]
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install (editable + dev)
20+
run: pip install -e ".[dev]"
21+
- name: Run tests
22+
run: pytest -q
23+
- name: CLI smoke test
24+
run: |
25+
python -m scientific_agent_lab.cli run \
26+
-i examples/materials_demo/sample_input.json \
27+
-o outputs/demo_report.md

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# scientific-agent-lab
22

3+
[![CI](https://github.com/rockyzl/scientific-agent-lab/actions/workflows/ci.yml/badge.svg)](https://github.com/rockyzl/scientific-agent-lab/actions/workflows/ci.yml)
4+
&nbsp;![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
5+
&nbsp;![License: MIT](https://img.shields.io/badge/license-MIT-green)
6+
37
**An open-source framework for evidence-grounded scientific agents — with replayable
48
evaluation and human review as the core spine.**
59

0 commit comments

Comments
 (0)