diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 4a2a48dd..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: CI - -on: - push: - branches: [main, dev] - pull_request: - branches: [main] - -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true - -jobs: - backend-test: - name: Backend Tests - runs-on: ubuntu-latest - - services: - postgres: - image: postgres:15 - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - POSTGRES_DB: aegisai_test - ports: - - 5432:5432 - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - cache: pip - - - name: Install dependencies - working-directory: backend - run: pip install -r requirements.txt - - - name: Run tests - working-directory: backend - env: - DATABASE_URL: postgresql://postgres:postgres@localhost:5432/aegisai_test - SECRET_KEY: test-secret-key - run: pytest tests/ -v --cov=app --cov-report=term-missing - - frontend-lint: - name: Frontend Lint & Build - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Set up Node 22 - uses: actions/setup-node@v4 - with: - node-version: "22" - cache: npm - cache-dependency-path: frontend/package-lock.json - - - name: Install dependencies - working-directory: frontend - run: npm ci - - - name: Lint - working-directory: frontend - run: npm run lint --if-present - - - name: Build - working-directory: frontend - run: npm run build diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml deleted file mode 100644 index b125730e..00000000 --- a/.github/workflows/pytest.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Run Pytest -on: - push: - branches: [main, dev] - pull_request: - branches: [main] -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true -jobs: - test: - name: Pytest (auto-discover all tests) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - cache: pip - - name: Install dependencies - working-directory: backend - run: pip install -r requirements.txt - - name: Auto-discover and run all pytest tests - working-directory: backend - env: - SECRET_KEY: test-secret-key - run: pytest --tb=short -q \ No newline at end of file