Skip to content

feat(ci): Add comprehensive CI/CD infrastructure #1

feat(ci): Add comprehensive CI/CD infrastructure

feat(ci): Add comprehensive CI/CD infrastructure #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
frontend-checks:
name: Frontend Checks
runs-on: ubuntu-latest
defaults:
run:
working-directory: cmd/llvm-obfuscator/frontend
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: cmd/llvm-obfuscator/frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Build
run: npm run build
backend-checks:
name: Backend Checks
runs-on: ubuntu-latest
defaults:
run:
working-directory: cmd/llvm-obfuscator
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: cmd/llvm-obfuscator/requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with coverage
run: pytest --cov=core --cov-report=term-missing --cov-report=xml -v
continue-on-error: true