diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 75badd8..344e149 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -1,5 +1,8 @@ name: Pull Request Testing on: + push: + branches: + - main pull_request: branches: - main @@ -7,15 +10,22 @@ on: jobs: test: runs-on: ubuntu-latest + env: + BUNDLE_JOBS: 4 + BUNDLE_RETRY: 3 + CI: true + TRUFFLERUBYOPT: "--engine.Mode=latency" + strategy: + fail-fast: false + matrix: + ruby: ["3.1.6", "3.2.6", "3.3.7", "3.4.1", "jruby-9.4"] steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1.4 + ruby-version: ${{ matrix.ruby }} bundler-cache: true - - name: Run the default task - run: bundle exec rake \ No newline at end of file + run: bundle exec rake