Skip to content

Commit

Permalink
Ruby matrix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 17, 2025
1 parent ba9df70 commit 1810cfd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
name: Pull Request Testing
on:
push:
branches:
- main
pull_request:
branches:
- main

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
run: bundle exec rake

0 comments on commit 1810cfd

Please sign in to comment.