Skip to content

Commit

Permalink
Modify ci to use a Ruby matrix
Browse files Browse the repository at this point in the history
to test against multiple versions
  • Loading branch information
jenshenny committed Apr 4, 2024
1 parent 79400d4 commit d78fffa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7"]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake

valgrind:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7"]
steps:
- run: sudo apt-get install -y valgrind
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test:valgrind

0 comments on commit d78fffa

Please sign in to comment.