File tree Expand file tree Collapse file tree 3 files changed +44
-2
lines changed
Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ main, ci-test ]
6+ pull_request :
7+ branches : [ main, ci-test ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ python-version : ['3.11', '3.12']
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+
25+ - name : Cache pip dependencies
26+ uses : actions/cache@v4
27+ with :
28+ path : ~/.cache/pip
29+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
30+ restore-keys : |
31+ ${{ runner.os }}-pip-
32+
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ pip install -r requirements.txt
37+ pip install pytest pytest-cov
38+ python -m spacy download en_core_web_sm
39+
40+ - name : Run tests with coverage
41+ run : |
42+ pytest tests/ -v --cov=src/cortex --cov-report=xml --cov-report=term
Original file line number Diff line number Diff line change 55** Version:** 1.0 (Production-Ready Hybrid Stack)
66
77[ ![ Python 3.11+] ( https://img.shields.io/badge/python-3.11+-blue.svg )] ( https://www.python.org/downloads/ )
8- [ ![ Tests] ( https://img.shields.io/badge/ tests-40%2F40%20passing-brightgreen. svg )] ( ./tests/ )
8+ [ ![ Tests] ( https://github.com/IASolutionOrg/Cortex/actions/workflows/ tests.yml/badge. svg )] ( https://github.com/IASolutionOrg/Cortex/actions/workflows/tests.yml )
99[ ![ Docker] ( https://img.shields.io/badge/docker-ready-blue.svg )] ( ./Dockerfile )
1010[ ![ MCP] ( https://img.shields.io/badge/MCP-Enabled-purple.svg )] ( https://modelcontextprotocol.io/ )
1111[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( ./LICENSE )
@@ -167,7 +167,7 @@ Generate your own dashboard with the `visualize_brain` tool or run the demo:
167167
168168` ` ` bash
169169python demo_scenario.py
170- # Opens demo_dashboard.html automatically
170+ # Open demo_dashboard.html manually
171171` ` `
172172
173173---
You can’t perform that action at this time.
0 commit comments