From 1acc994d980cc05f1ad465c31657d59e4bb375ff Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 27 May 2025 18:23:22 +0530 Subject: [PATCH] Revert "feat: re-enable all ci config" This reverts commit 58e5f7e4dfa15d75c8b32d6aa54fd485787abaf8. --- .circleci/config.yml | 80 ++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 99795db91..754eb6531 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -99,17 +99,17 @@ jobs: chmod +x ~/tmp/cc-test-reporter # Swagger verification - - run: - name: Verify swagger API specification - command: | - bundle exec rake swagger:build - if [[ `git status swagger/swagger.json --porcelain` ]] - then - echo "ERROR: The swagger.json file is not in sync with the yaml specification. Run 'rake swagger:build' and commit 'swagger/swagger.json'." - exit 1 - fi - curl -L https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.3.0/openapi-generator-cli-6.3.0.jar > ~/tmp/openapi-generator-cli-6.3.0.jar - java -jar ~/tmp/openapi-generator-cli-6.3.0.jar validate -i swagger/swagger.json + # - run: + # name: Verify swagger API specification + # command: | + # bundle exec rake swagger:build + # if [[ `git status swagger/swagger.json --porcelain` ]] + # then + # echo "ERROR: The swagger.json file is not in sync with the yaml specification. Run 'rake swagger:build' and commit 'swagger/swagger.json'." + # exit 1 + # fi + # curl -L https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.3.0/openapi-generator-cli-6.3.0.jar > ~/tmp/openapi-generator-cli-6.3.0.jar + # java -jar ~/tmp/openapi-generator-cli-6.3.0.jar validate -i swagger/swagger.json # we remove the FRONTED_URL from the .env before running the tests - run: @@ -139,26 +139,26 @@ jobs: command: bundle exec bundle audit update && bundle exec bundle audit check -v # Rubocop linting - - run: - name: Rubocop - command: bundle exec rubocop + # - run: + # name: Rubocop + # command: bundle exec rubocop - # ESLint linting - - run: - name: eslint - command: pnpm run eslint + # # ESLint linting + # - run: + # name: eslint + # command: pnpm run eslint - - run: - name: Run frontend tests - command: | - mkdir -p ~/build/coverage/frontend - ~/tmp/cc-test-reporter before-build - pnpm run test:coverage + # - run: + # name: Run frontend tests + # command: | + # mkdir -p ~/build/coverage/frontend + # ~/tmp/cc-test-reporter before-build + # pnpm run test:coverage - - run: - name: Code Climate Test Coverage (Frontend) - command: | - ~/tmp/cc-test-reporter format-coverage -t lcov -o "~/build/coverage/frontend/codeclimate.frontend_$CIRCLE_NODE_INDEX.json" + # - run: + # name: Code Climate Test Coverage (Frontend) + # command: | + # ~/tmp/cc-test-reporter format-coverage -t lcov -o "~/build/coverage/frontend/codeclimate.frontend_$CIRCLE_NODE_INDEX.json" # Run backend tests - run: @@ -175,17 +175,17 @@ jobs: -- ${TESTFILES} no_output_timeout: 30m - - run: - name: Code Climate Test Coverage (Backend) - command: | - ~/tmp/cc-test-reporter format-coverage -t simplecov -o "~/build/coverage/backend/codeclimate.$CIRCLE_NODE_INDEX.json" + # - run: + # name: Code Climate Test Coverage (Backend) + # command: | + # ~/tmp/cc-test-reporter format-coverage -t simplecov -o "~/build/coverage/backend/codeclimate.$CIRCLE_NODE_INDEX.json" - - run: - name: List coverage directory contents - command: | - ls -R ~/build/coverage + # - run: + # name: List coverage directory contents + # command: | + # ls -R ~/build/coverage - - persist_to_workspace: - root: ~/build - paths: - - coverage + # - persist_to_workspace: + # root: ~/build + # paths: + # - coverage