use optimistic flag for bundle add #128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
on: [push] | |
name: LargeTextField Build | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: yes | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [3.1, 3.2, 3.3] | |
gemfile: | |
- Gemfile | |
- gemfiles/rails_6_0.gemfile | |
- gemfiles/rails_6_1.gemfile | |
- gemfiles/rails_7_0.gemfile | |
- gemfiles/rails_7_1.gemfile | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
DATABASE_MYSQL_HOST: 127.0.0.1 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler: 2.4.13 | |
bundler-cache: true | |
- run: bundle exec rake db:create db:migrate RAILS_ENV=test | |
- run: bundle exec rake test | |