diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42c697d..706ca0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,13 +14,11 @@ jobs: test: runs-on: ubuntu-latest - container: ${{ matrix.ruby }} - strategy: fail-fast: false matrix: - ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head'] + ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0', 'head'] include: - ruby-version: 'head' allow_failures: 'true' @@ -32,10 +30,9 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true + - name: Run test - run: | - set -xe - bundle exec rake + run: bundle exec rake continue-on-error: ${{ matrix.allow_failures == 'true' }} - name: Coveralls @@ -48,7 +45,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3 + ruby-version: ruby bundler-cache: true - name: Run type check run: bundle exec steep check --with-expectations