Sha256: 24ece17a547096b367e7dec18fb8ef9a73a91526d3c3619c6eaf1224566cfb6d
Contents?: true
Size: 1.33 KB
Versions: 6
Compression:
Stored size: 1.33 KB
Contents
# 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
Version data entries
6 entries across 6 versions & 1 rubygems