mirror of
https://github.com/kenhuangus/wikiskill
synced 2026-09-22 23:34:25 +08:00
CI workflow (pytest + CLI demo + live smoke on py3.10/3.13); evolve CLI now reports test evaluation; add python -m wikiskill entry; README badges
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.10", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install
|
||||
run: pip install -e ".[dev,ui]"
|
||||
- name: Run tests
|
||||
run: pytest -q --timeout=120
|
||||
- name: CLI demo (mock, end-to-end)
|
||||
run: python -m wikiskill.demo --root ci_demo --iterations 3
|
||||
- name: Live-server smoke test
|
||||
run: python smoke_test.py
|
||||
Reference in New Issue
Block a user