Skip to content

Commit 67ff7b9

Browse files
authored
Create dependency_ai.yml
1 parent 8ec9110 commit 67ff7b9

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: MechanicalMind Dependency AI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
dependency-scan:
11+
runs-on: self-hosted
12+
strategy:
13+
matrix:
14+
python-version: ["3.10", "3.11"]
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Run Dependency Analyzer
25+
run: |
26+
python -m ai_core.dependency_analyzer --repo $GITHUB_REPOSITORY
27+
python -m ai_core.error_diagnosis_engine --log-path ./logs/
28+
29+
- name: Upload Results
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: dependency-report
33+
path: |
34+
./dependency_graph.json
35+
./error_analysis.md

0 commit comments

Comments
 (0)