Skip to content

Commit

Permalink
maxitest dummy test (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Nov 3, 2024
1 parent f1b2c07 commit 27acbd7
Show file tree
Hide file tree
Showing 8 changed files with 351 additions and 21 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

env:
RAILS_ENV: test

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5

- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run tests
run: bin/rails test
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
ruby = "latest"
22 changes: 21 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "dotenv-rails", require: "dotenv/rails-now"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
rails_version = "~> 7.1"
rails_version = "~> 7.2"
gem "railties", rails_version
gem "actionpack", rails_version
gem "puma"
Expand All @@ -19,6 +19,26 @@ gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri mingw x64_mingw ]
gem 'maxitest'
gem 'minitest-reporters'
gem 'minitest-spec-rails'
gem 'minitest-stackprof'
gem 'mocha'
gem 'ruby-prof', require: false
gem 'selenium-webdriver'
gem 'shoulda', '4.0.0'
gem 'shoulda-matchers'
gem 'simplecov', require: false
gem 'simplecov-console', require: false
gem 'simplecov-db', require: false
gem 'database_cleaner', require: false
gem 'stackprof', require: false
gem 'test-prof'
gem 'fabrication'
gem 'timecop'
gem 'trailblazer-test'
gem 'vcr', require: false
gem 'webmock', require: false
end

group :development do
Expand Down
187 changes: 167 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,46 @@ GIT
GEM
remote: https://rubygems.org/
specs:
actionpack (7.1.5)
actionview (= 7.1.5)
activesupport (= 7.1.5)
actionpack (7.2.2)
actionview (= 7.2.2)
activesupport (= 7.2.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actionview (7.1.5)
activesupport (= 7.1.5)
useragent (~> 0.16)
actionview (7.2.2)
activesupport (= 7.2.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activesupport (7.1.5)
activemodel (7.2.2)
activesupport (= 7.2.2)
activerecord (7.2.2)
activemodel (= 7.2.2)
activesupport (= 7.2.2)
timeout (>= 0.4.0)
activesupport (7.2.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
securerandom (>= 0.3)
tzinfo (~> 2.0)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
airbrussh (1.5.3)
sshkit (>= 1.6.1, != 1.7.0)
ansi (1.5.0)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
Expand All @@ -63,16 +72,29 @@ GEM
capistrano (~> 3.1)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crack (1.0.0)
bigdecimal
rexml
crass (1.0.6)
database_cleaner (2.1.0)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
docile (1.4.1)
dotenv (3.1.4)
dotenv-rails (3.1.4)
dotenv (= 3.1.4)
railties (>= 6.1)
drb (2.2.1)
erubi (1.13.0)
fabrication (2.31.0)
hashdiff (1.1.1)
hashie (5.0.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
Expand All @@ -83,21 +105,44 @@ GEM
loofah (2.23.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
maxitest (5.7.1)
minitest (>= 5.14.0, < 5.26.0)
minitest (5.25.1)
mutex_m (0.2.0)
minitest-reporters (1.7.1)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
minitest-spec-rails (7.3.0)
minitest (>= 5.0)
railties (>= 4.1)
minitest-stackprof (0.2.0)
minitest (>= 5.0)
stackprof (>= 0.2.7)
mocha (2.5.0)
ruby2_keywords (>= 0.0.5)
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-sftp (4.0.0)
net-ssh (>= 5.0.0, < 8.0.0)
net-ssh (7.3.0)
nio4r (2.7.4)
nokogiri (1.16.7-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.7-arm-linux)
racc (~> 1.4)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86-linux)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
ostruct (0.6.0)
psych (5.1.2)
stringio
public_suffix (6.0.1)
puma (6.4.3)
nio4r (~> 2.0)
racc (1.8.1)
Expand All @@ -115,10 +160,10 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.5)
actionpack (= 7.1.5)
activesupport (= 7.1.5)
irb
railties (7.2.2)
actionpack (= 7.2.2)
activesupport (= 7.2.2)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
Expand All @@ -130,40 +175,142 @@ GEM
connection_pool
reline (0.5.10)
io-console (~> 0.5)
rexml (3.3.9)
ruby-prof (1.7.1)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
sd_notify (0.1.1)
securerandom (0.3.1)
selenium-webdriver (4.26.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
shoulda (4.0.0)
shoulda-context (~> 2.0)
shoulda-matchers (~> 4.0)
shoulda-context (2.0.0)
shoulda-matchers (4.5.1)
activesupport (>= 4.2.0)
sidekiq (7.3.4)
connection_pool (>= 2.3.0)
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-console (0.9.2)
ansi
simplecov
terminal-table
simplecov-db (0.1.0)
activerecord
simplecov
sqlite3
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
sqlite3 (2.2.0-aarch64-linux-gnu)
sqlite3 (2.2.0-aarch64-linux-musl)
sqlite3 (2.2.0-arm-linux-gnu)
sqlite3 (2.2.0-arm-linux-musl)
sqlite3 (2.2.0-arm64-darwin)
sqlite3 (2.2.0-x86-linux-gnu)
sqlite3 (2.2.0-x86-linux-musl)
sqlite3 (2.2.0-x86_64-darwin)
sqlite3 (2.2.0-x86_64-linux-gnu)
sqlite3 (2.2.0-x86_64-linux-musl)
sshkit (1.23.2)
base64
net-scp (>= 1.1.2)
net-sftp (>= 2.1.2)
net-ssh (>= 2.8.0)
ostruct
stackprof (0.2.26)
stringio (3.1.1)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
test-prof (1.4.2)
thor (1.3.2)
timecop (0.9.10)
timeout (0.4.1)
trailblazer-activity (0.16.3)
trailblazer-context (~> 0.5.0)
trailblazer-option (~> 0.1.0)
trailblazer-activity-dsl-linear (1.2.5)
trailblazer-activity (>= 0.16.0, < 0.17.0)
trailblazer-declarative (>= 0.0.1, < 0.1.0)
trailblazer-context (0.5.1)
hashie (>= 3.0.0)
trailblazer-declarative (0.0.2)
trailblazer-option (0.1.2)
trailblazer-test (0.1.1)
hashie
trailblazer-activity (>= 0.10.0)
trailblazer-activity-dsl-linear (>= 0.2.5)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.18)
unicode-display_width (2.6.0)
useragent (0.16.10)
vcr (6.3.1)
base64
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket (1.2.11)
zeitwerk (2.7.1)

PLATFORMS
arm64-darwin-22
aarch64-linux
aarch64-linux-gnu
aarch64-linux-musl
arm-linux
arm-linux-gnu
arm-linux-musl
arm64-darwin
x86-linux
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
actionpack (~> 7.1)
actionpack (~> 7.2)
capistrano-sidekiq!
capistrano3-puma!
database_cleaner
debug
dotenv-rails
fabrication
maxitest
minitest-reporters
minitest-spec-rails
minitest-stackprof
mocha
puma
railties (~> 7.1)
railties (~> 7.2)
ruby-prof
sd_notify
selenium-webdriver
shoulda (= 4.0.0)
shoulda-matchers
sidekiq
simplecov
simplecov-console
simplecov-db
stackprof
test-prof
timecop
trailblazer-test
tzinfo-data
vcr
webmock

BUNDLED WITH
2.4.22
2.5.16
Loading

0 comments on commit 27acbd7

Please sign in to comment.