Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
51 changes: 49 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
backend:
name: Backend Package
name: Backend Tests And Package
runs-on: ubuntu-latest
timeout-minutes: 25

Expand All @@ -29,9 +32,24 @@ jobs:
java-version: "17"
cache: maven

- name: Run backend test tier
shell: pwsh
run: ./scripts/code-nest-eval.ps1 -Tier backend

- name: Package backend
run: mvn -B -pl xiaou-application -am clean package -DskipTests

- name: Upload Surefire reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: code-nest-backend-surefire-reports
path: |
**/target/surefire-reports/**
**/target/*.dump
**/target/*.dumpstream
if-no-files-found: ignore

- name: Upload backend jar
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -67,6 +85,10 @@ jobs:
run: npm ci
working-directory: ${{ matrix.app.path }}

- name: Run contract tests
run: npm run test:contracts
working-directory: ${{ matrix.app.path }}

- name: Build
run: npm run build
working-directory: ${{ matrix.app.path }}
Expand Down Expand Up @@ -109,8 +131,28 @@ jobs:
path: docs-site/.vitepress/dist
if-no-files-found: error

rag:
name: RAG Service Tests
runs-on: ubuntu-latest
timeout-minutes: 20

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

- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: llamaindex-service/requirements.txt

- name: Run RAG test tier
shell: pwsh
run: ./scripts/code-nest-eval.ps1 -Tier rag -InstallPythonDeps

scripts:
name: Script Checks
name: Repository Hygiene And Script Checks
runs-on: ubuntu-latest
timeout-minutes: 5

Expand All @@ -123,6 +165,10 @@ jobs:
with:
python-version: "3.11"

- name: Run repository hygiene tier
shell: pwsh
run: ./scripts/code-nest-eval.ps1 -Tier hygiene

- name: Python syntax check
run: python -m py_compile scripts/deploy-frontends.py scripts/you_deserve_to_interview_sql.py

Expand All @@ -136,6 +182,7 @@ jobs:
- backend
- frontend
- docs
- rag
- scripts
if: always()

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,8 @@ dump.rdb
/_write_*.cjs
/nul
/docs-site/build_output.txt
/.codegraph/
/.codex-mihomo-geo/
/findings.md
/progress.md
/task_plan.md
Loading
Loading