Hide query results and AI responses when switching away from explorer… #98
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"] | |
| rails: ["6.0", "6.1", "7.0", "7.1", "7.2", "8.0", "8.1"] | |
| exclude: | |
| # Rails 6.0 doesn't support Ruby 3.2+ | |
| - ruby: "3.2" | |
| rails: "6.0" | |
| - ruby: "3.3" | |
| rails: "6.0" | |
| - ruby: "3.4" | |
| rails: "6.0" | |
| # Rails 6.1 doesn't support Ruby 3.4 (mutex_m removed from stdlib) | |
| - ruby: "3.4" | |
| rails: "6.1" | |
| # Rails 7.0 doesn't support Ruby 3.4 (mutex_m removed from stdlib) | |
| - ruby: "3.4" | |
| rails: "7.0" | |
| # Rails 7.2+ requires Ruby 3.1+ | |
| - ruby: "2.7" | |
| rails: "7.2" | |
| - ruby: "3.0" | |
| rails: "7.2" | |
| # Rails 8.0+ requires Ruby 3.2+ | |
| - ruby: "2.7" | |
| rails: "8.0" | |
| - ruby: "3.0" | |
| rails: "8.0" | |
| - ruby: "3.1" | |
| rails: "8.0" | |
| - ruby: "2.7" | |
| rails: "8.1" | |
| - ruby: "3.0" | |
| rails: "8.1" | |
| - ruby: "3.1" | |
| rails: "8.1" | |
| env: | |
| RAILS_VERSION: ${{ matrix.rails }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Install dependencies | |
| run: bundle install | |
| - name: Run specs | |
| run: bundle exec rspec | |
| desktop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Ruby 3.2 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.2" | |
| bundler-cache: false | |
| - name: Install desktop gem dependencies | |
| working-directory: gems/mysql_genius-desktop | |
| run: bundle install | |
| - name: Run desktop specs | |
| working-directory: gems/mysql_genius-desktop | |
| run: bundle exec rspec | |
| - name: Run desktop rubocop | |
| working-directory: gems/mysql_genius-desktop | |
| run: bundle exec rubocop |