Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle exec rake db:setup
- run: bundle exec rspec

rubocop:
Expand Down
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

# Enable `db:setup` and friends.
require_relative 'example-app/config/application'
Rails.application.load_tasks

RSpec::Core::RakeTask.new(:spec)

require 'rubocop/rake_task'
Expand Down
2 changes: 1 addition & 1 deletion example-app/db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
post.hero.attach(
filename: 'plasma.jpg',
io: File.open(plasma_path),
) if i.odd?
) if i.even?
end
2 changes: 0 additions & 2 deletions spec/parklife/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ def parklife(cmd, env = {})
end

it 'builds successfully and includes encountered ActiveStorage blobs' do
skip('FIXME: get me working on CI') if ENV['CI']

env = { 'RAILS_ENV' => 'development' }

stdout, status = parklife('build', env)
Expand Down