follow up on ways to reduce allocation on multi_get #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- head | |
- '3.3' | |
- '3.2' | |
memcached-version: ['1.6.23'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Memcached ${{ matrix.memcached-version }} | |
working-directory: scripts | |
env: | |
MEMCACHED_VERSION: ${{ matrix.memcached-version }} | |
run: | | |
chmod +x ./install_memcached.sh | |
./install_memcached.sh | |
- name: Install and start toxiproxy | |
run: ./bin/start-toxiproxy.sh | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # 'bundle install' and cache | |
- name: Run tests | |
run: bundle exec rake | |
env: | |
RUN_SASL_TESTS: 1 |