From 487714ad7bdf3554f95ca244dbda23b504a82312 Mon Sep 17 00:00:00 2001 From: ajilkumar Date: Thu, 5 Feb 2026 00:07:50 +0530 Subject: [PATCH] removed test.yml file --- .github/workflows/test.yml | 70 -------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index a737cb9..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Tests - -on: - push: - branches: [main, develop] - pull_request: - branches: [main] - -jobs: - test: - runs-on: ubuntu-latest - - services: - postgres: - image: postgres:16-alpine - env: - POSTGRES_USER: devmetrics - POSTGRES_PASSWORD: test_password - POSTGRES_DB: devmetrics_test - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5433:5432 - - redis: - image: redis:7-alpine - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 6380:6379 - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run linter - run: npm run lint - - - name: Type check - run: npm run typecheck - - - name: Run tests - run: npm run test:ci - env: - TEST_DATABASE_URL: postgresql://devmetrics:test_password@localhost:5433/devmetrics_test - TEST_REDIS_URL: redis://localhost:6380 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - API_KEY_SECRET: test-secret-key-for-ci-testing-only - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - files: ./coverage/lcov.info - flags: unittests - name: codecov-umbrella \ No newline at end of file