Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 20, 2024
1 parent 2938bae commit edb8f88
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
RAILS_ENV: test
DATABASE_URL: sqlite3:db/test.sqlite3
run: |
rails db:reset
rails db:seed
#rails test -v
rails test:system TESTOPTS="-v"
bundle exec rails db:reset
bundle exec rails db:seed
#bundle exec rails test -v
bundle exec rails test:system TESTOPTS="-v"
( cd /home/runner/work/etd/etd/tmp/test-screenshots && tar cvf ../sqlite3-test-screenshots.tar . ) || true
- name: Upload sqlite3 test artifacts
uses: actions/upload-artifact@v3
Expand All @@ -51,10 +51,10 @@ jobs:
RAILS_ENV: test
DATABASE_URL: mysql2://test:[email protected]:3306/test
run: |
rails db:reset
rails db:seed
#rails test -v
rails test:system TESTOPTS="-v"
bundle exec rails db:reset
bundle exec rails db:seed
#bundle exec rails test -v
bundle exec rails test:system TESTOPTS="-v"
( cd /home/runner/work/etd/etd/tmp/test-screenshots && tar cvf ../mysql-test-screenshots.tar . ) || true
- name: Upload mysql test artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit edb8f88

Please sign in to comment.