Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Mar 31, 2024
1 parent db66254 commit 6c0a8ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,19 @@ jobs:
RAILS_ENV: test
run:
bundle install
- name: Run tests with mysql
- name: Run tests with sqlite3
env:
RAILS_ENV: test
DATABASE_URL: mysql2://test:[email protected]:3306/test
DATABASE_URL: sqlite3:db/test.sqlite3
run: |
bundle exec rake db:reset
bundle exec rake test
- name: Run tests with sqlite3
- name: Run tests with mysql
env:
RAILS_ENV: test
DATABASE_URL: sqlite3:db/test.sqlite3
DATABASE_URL: mysql2://test:[email protected]:3306/test
run: |
bundle exec rake db:reset
bundle exec rake test

0 comments on commit 6c0a8ea

Please sign in to comment.