Skip to content

Commit

Permalink
Set up DB for tests as part of default Rake task (#374)
Browse files Browse the repository at this point in the history
Set up DB for tests

Co-authored-by: Andy Waite <[email protected]>
  • Loading branch information
andyw8 and andyw8 authored May 9, 2024
1 parent 39ae19c commit 23edfb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cache-version: 7

- name: Run tests
run: bundle exec rails db:setup && bundle exec rails db:migrate && bundle exec rails test
run: bundle exec rake
lint:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ end

RubyLsp::CheckDocs.new(FileList["#{__dir__}/lib/ruby_lsp/**/*.rb"], FileList["#{__dir__}/misc/**/*.gif"])

task default: :test
task default: [:"db:setup", :test]

0 comments on commit 23edfb1

Please sign in to comment.