From d606bd92ca4fb3a3385b6d773579f2c105e582d7 Mon Sep 17 00:00:00 2001 From: Jerome Lacoste Date: Tue, 29 Oct 2024 17:19:54 +0100 Subject: [PATCH] Drop Circle now that we use github since 532bb2792ab5eda2449b80131bced399e988493e --- .circleci/config.yml | 87 -------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0511d5e..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,87 +0,0 @@ -# Ruby CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-ruby/ for more details -# -version: 2.1 - -orbs: - ruby: circleci/ruby@1.1 - -#executors: -# linux: -# docker: -# - image: cimg/base:2020.01 -# macos: -# macos: -# xcode: 11.4 - -workflows: - all-tests: - jobs: - - build: - matrix: - parameters: - # os: [linux] - ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"] - -jobs: - build: - parameters: - # os: - # type: executor - ruby-version: - type: string - - docker: - - image: cimg/ruby:<< parameters.ruby-version >> - - # executor: << parameters.os >> - - working_directory: ~/repo - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "Gemfile.lock" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: - name: Configure Bundler - command: | - echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV - source $BASH_ENV - gem install bundler -v "$BUNDLER_VERSION" - bundle config set path '.bundle' - - - run: - name: install dependencies - command: | - bundle install --jobs=4 --retry=3 - - - save_cache: - paths: - - ./venv - key: v1-dependencies-{{ checksum "Gemfile.lock" }} - - # Database setup - # - run: bundle exec rake db:create - # - run: bundle exec rake db:schema:load - - # run tests! - - run: - name: run tests - command: | - echo $BUNDLER_VERSION - bundle --version - bundle exec rake - - # collect reports - - store_test_results: - path: /tmp/rspec/ - - store_artifacts: - path: /tmp/rspec/ - destination: test-results