From d3f38856fbf26d7c796883ce6f532217350635c2 Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Fri, 10 Jan 2025 10:02:42 +0000 Subject: [PATCH] Update ruby.yml --- .github/workflows/ruby.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ac4fe65..ca9d0fa 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }} - steps: - uses: actions/checkout@v3 - name: Set up Ruby @@ -34,6 +33,22 @@ jobs: bundler-args: --without development - name: Quickdraw tests run: bundle exec qt -t 1 "./test/**/*.test.rb" + allocations_test: + needs: ruby-versions + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby-version: + ["3.2", "3.3", "3.4", "head", "truffleruby", "truffleruby-head"] + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + bundler-args: --without development - name: Test allocations run: bundle exec ./allocations_test.rb rubocop: