This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Merge pull request #238 from influxdata/jdstrand/prepare-to-archive #1
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: Specs | |
| on: | |
| push: | |
| branches: [ master, one-stable, two-stable ] | |
| pull_request: | |
| branches: [ master, one-stable, two-stable ] | |
| jobs: | |
| spec: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: [ '3.1', '3.2', '3.3', 'head' ] | |
| rails: [ 'gemfiles/Gemfile.rails-6.1.x', 'gemfiles/Gemfile.rails-7.0.x', 'gemfiles/Gemfile.rails-7.1.x'] | |
| exclude: [] | |
| continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} | |
| env: | |
| BUNDLE_GEMFILE: ${{ matrix.rails }} | |
| name: Ruby ${{ matrix.ruby }} ${{ matrix.rails }} specs | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| run: bundle exec rake spec |