Implement Query#<< (fix #49) #217
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] | |
concurrency: | |
group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] | |
name: >- | |
${{matrix.os}}, ${{matrix.ruby}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler-cache: true # 'bundle install' and cache | |
- name: Compile C-extension | |
run: bundle exec rake compile | |
- name: Run tests | |
run: bundle exec rake test | |
- name: Build bundled gem | |
run: bundle exec rake build_bundled | |
- name: Run tests with bundled gem | |
run: | | |
echo Installing extralite-bundle... | |
bundle config --local frozen false | |
mv Gemfile-bundle Gemfile | |
bundle install | |
echo Running tests... | |
bundle exec rake test |