Fix CircleCI (#157)

* Drop Ruby 3.1 from CI

* Fix CircleCI report dir
This commit is contained in:
Sami Samhuri 2026-01-01 16:37:15 -08:00 committed by GitHub
parent 72bb651696
commit a67b688f89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View file

@ -53,7 +53,7 @@ jobs:
- checkout - checkout
- bundle_install: - bundle_install:
version: << parameters.version >> version: << parameters.version >>
- run: bundle exec rake test TESTOPTS="--ci-dir=./reports" - run: bundle exec rake test
- store_test_results: - store_test_results:
path: ./reports path: ./reports
@ -65,14 +65,14 @@ workflows:
- test: - test:
matrix: matrix:
parameters: parameters:
version: ["3.1.6", "3.2.6", "3.3.6", "3.4.1"] version: ["3.2.6", "3.3.6", "3.4.1"]
cron-workflow: cron-workflow:
jobs: jobs:
- rubocop - rubocop
- test: - test:
matrix: matrix:
parameters: parameters:
version: ["3.1.6", "3.2.6", "3.3.6", "3.4.1"] version: ["3.2.6", "3.3.6", "3.4.1"]
triggers: triggers:
- schedule: - schedule:
cron: "0 13 * * 6" cron: "0 13 * * 6"

View file

@ -1,2 +1,6 @@
# Generate XML test reports that can be parsed by CircleCI # Generate XML test reports that can be parsed by CircleCI
require 'minitest/ci' if ENV['CIRCLECI'] if ENV['CIRCLECI']
require 'minitest/ci'
Minitest::Ci.report_dir = './reports'
end