diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ff81f8d..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,49 +0,0 @@ -# Ruby CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-ruby/ for more details -# -version: 2 -jobs: - build: - docker: - - image: circleci/ruby:2.7.3 - - image: redis - - working_directory: ~/repo - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v2-dependencies-{{ checksum "graph_attack.gemspec" }} - - v2-dependencies- - - - run: gem install bundler:2.0.2 - - run: bundle install --jobs=4 --retry=3 --path vendor/bundle - - - save_cache: - paths: - - ./vendor/bundle - key: v2-dependencies-{{ checksum "graph_attack.gemspec" }} - - # Run tests! - - run: - name: run tests - command: | - mkdir /tmp/test-results - TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)" - - bundle exec rspec --format progress \ - --format RspecJunitFormatter \ - --out /tmp/test-results/rspec.xml \ - --format progress \ - $TEST_FILES - - # Collect reports - - store_test_results: - path: /tmp/test-results - - store_artifacts: - path: /tmp/test-results - destination: test-results