diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd022ffb..82061ebd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,29 +15,31 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"] - gemfile: [rails_5_2, rails_6_0, rails_6_1, rails_7_0, rails_edge] - exclude: - - ruby: "2.6" - gemfile: rails_7_0 - - ruby: "2.6" - gemfile: rails_edge - - ruby: "3.0" - gemfile: rails_5_2 - - ruby: "3.1" - gemfile: rails_5_2 - - ruby: "3.2" - gemfile: rails_5_2 - - ruby: "3.1" - gemfile: rails_6_0 - - ruby: "3.2" - gemfile: rails_6_0 - - ruby: "3.2" - gemfile: rails_6_1 - - include: - - ruby: head - gemfile: rails_edge + # ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"] + # gemfile: [rails_5_2, rails_6_0, rails_6_1, rails_7_0, rails_edge] + # exclude: + # - ruby: "2.6" + # gemfile: rails_7_0 + # - ruby: "2.6" + # gemfile: rails_edge + # - ruby: "3.0" + # gemfile: rails_5_2 + # - ruby: "3.1" + # gemfile: rails_5_2 + # - ruby: "3.2" + # gemfile: rails_5_2 + # - ruby: "3.1" + # gemfile: rails_6_0 + # - ruby: "3.2" + # gemfile: rails_6_0 + # - ruby: "3.2" + # gemfile: rails_6_1 + # + # include: + # - ruby: head + # gemfile: rails_edge + ruby: ["head"] + gemfile: [rails_edge] env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile steps: @@ -47,7 +49,10 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - bundler-cache: true + bundler-cache: false + bundler: Gemfile.lock + - name: Manually install dependencies with specific bundler version + run: bundle _2.4.22_ install --jobs 4 --retry 3 - name: Start MySQL and create DB run: | sudo systemctl start mysql.service