Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e45fe29
[?25hdocumentation and engine updated
NikanEidi Mar 5, 2026
15c52d1
[?25hFix Engine Logic, And temeplate
NikanEidi Mar 6, 2026
75f4728
[?25hUpdate Tempelate
NikanEidi Mar 6, 2026
e9cab4d
[?25hAutomatic sync commit
NikanEidi Mar 7, 2026
de179ba
[?25hAdd more test and update module OOP Structure
NikanEidi Mar 7, 2026
f2d3045
[?25hAdd Engine and test formatter
NikanEidi Mar 7, 2026
ea560d0
[?25hadd Scanner Test
NikanEidi Mar 7, 2026
76081d4
[?25hUpdate tempelate Loader and moel Engine
NikanEidi Mar 7, 2026
643b8f0
[?25hadd test for tempelate loader (All 177 tests Passed)
NikanEidi Mar 7, 2026
2b1ba10
[?25hAutomatic sync commit
NikanEidi Mar 7, 2026
0fbbbbb
[?25hMore Documentation and Tests Added
NikanEidi Mar 7, 2026
2d373b3
[?25hUpdate README.md
NikanEidi Mar 7, 2026
74bf7e9
[?25hMore Tests Added
NikanEidi Mar 7, 2026
1bcf6f8
[?25hFunction EXP AND README UPDATED, SCANNER UPDATED
NikanEidi Mar 7, 2026
116c428
[?25hUpdate prompt structure
NikanEidi Mar 7, 2026
4ecb264
[?25hupdate workflow
NikanEidi Mar 7, 2026
1230586
[?25hUpdate file and Improve performance and quality
NikanEidi Mar 7, 2026
20ef755
[?25hUpdate Temeplate Loader
NikanEidi Mar 7, 2026
794bb34
[?25hUpdate engine and processor
NikanEidi Mar 7, 2026
67f9384
[?25hUpdate TUI and Formatter
NikanEidi Mar 7, 2026
38ae545
[?25hUPDATE TUI AND ALL TESTS PASSES
NikanEidi Mar 7, 2026
45bbb0f
[?25hUpdate Docs
NikanEidi Mar 7, 2026
7caf7b7
[?25hupdate test_log and tui
NikanEidi Mar 7, 2026
6d03cba
[?25hAll tests Updated
NikanEidi Mar 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 78 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,87 @@
name: Python CI
# ═══════════════════════════════════════════════════════════════════════════
# S T A R R Y N O T E · CI/CD Pipeline
# Runs on every push to main/master and on all pull requests
# Tests: pytest 288 tests across 12 test files
# ═══════════════════════════════════════════════════════════════════════════

name: StarryNote CI

on:
push:
branches:
- main
branches: [main, master]
pull_request:
branches:
- main
branches: [main, master]

permissions:
contents: read

jobs:
build:
test:
name: Test Suite (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]

steps:
- name: 📥 Checkout code
uses: actions/checkout@v4

- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: 📦 Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-ci.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: 🔧 Install system dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq libmagic1

- name: 📦 Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt

- name: 🧪 Run test suite
run: pytest tests/ -v --tb=short --strict-markers
env:
PYTHONPATH: ${{ github.workspace }}

- name: 📊 Test summary
if: always()
run: |
echo "╔══════════════════════════════════════════════╗"
echo "║ S T A R R Y N O T E · Test Summary ║"
echo "╠══════════════════════════════════════════════╣"
echo "║ Python: ${{ matrix.python-version }} ║"
echo "║ Platform: ubuntu-latest ║"
echo "╚══════════════════════════════════════════════╝"

lint:
name: Code Quality
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libmagic1

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt

- name: Test with pytest
run: pytest tests -v
env:
PYTHONPATH: ${{ github.workspace }}
- name: 📥 Checkout code
uses: actions/checkout@v4

- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: 📦 Install dependencies
run: |
python -m pip install --upgrade pip
pip install black

- name: 🎨 Check code formatting (Black)
run: black --check --diff src/ main.py tests/
Loading