Release v2.1.0 #138
Workflow file for this run
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
| # .github/workflows/ci.yml | |
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - ruby-version: "2.5" | |
| bundler-version: "2.3.27" | |
| - ruby-version: "2.6" | |
| bundler-version: "2.4.0" | |
| - ruby-version: "2.7" | |
| bundler-version: "2.4.0" | |
| - ruby-version: "3.0" | |
| - ruby-version: "3.1" | |
| - ruby-version: "3.2" | |
| - ruby-version: "3.3" | |
| - ruby-version: "3.4" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| # Disable bundler-cache when a custom bundler version is required, | |
| # as setup-ruby's cache is tied to the bundler it installs. | |
| bundler-cache: ${{ !matrix.bundler-version }} | |
| - name: Install Bundler | |
| if: matrix.bundler-version | |
| run: gem install bundler -v "~> ${{ matrix.bundler-version }}" | |
| - name: Install gems | |
| if: matrix.bundler-version | |
| run: bundle install | |
| - name: Build and run tests | |
| env: | |
| COVERAGE: true | |
| # TERM is required for colored/formatted test output in CI | |
| TERM: xterm | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| run: bundle exec rake test |