From edb8f884c99dfc954b9c8e739189128da84bef9b Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Sun, 20 Oct 2024 18:28:11 -0400 Subject: [PATCH] test --- .github/workflows/rubyonrails.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 25fb0f3..0202c35 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -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 @@ -51,10 +51,10 @@ jobs: RAILS_ENV: test DATABASE_URL: mysql2://test:test@127.0.0.1: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