Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try specific seed #159

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- run: bundle exec standardrb

tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Test ${{ matrix.gemfile }} with Ruby ${{ matrix.ruby-version }}
services:
mysql:
Expand Down Expand Up @@ -50,13 +50,16 @@ jobs:
- {ruby-version: "3.4", gemfile: "rails_main_trilogy"}
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
SEED: "44873"
steps:
- uses: actions/checkout@v4
- name: Install Ruby, Bundler and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: mysql -uroot --host 127.0.0.1 --port 3306 -e "SHOW GLOBAL VARIABLES LIKE '%time%'"
- run: mysql -uroot --host 127.0.0.1 --port 3306 -e "SHOW SESSION VARIABLES LIKE '%time%'"
- name: Create user 'john-doe' in MySQL
run: mysql --host 127.0.0.1 --port 3306 -uroot -e "CREATE USER 'john-doe'; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX ON *.* TO 'john-doe'; FLUSH PRIVILEGES;"
- run: bundle exec rake test
Expand Down
Loading