Merge pull request #93 from Mapotempo/remove_deprecated_ext_mt_libcou… #187
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
include: | |
- ruby: '2.7' | |
gemfile: '5.2.7' | |
couchbase: '6.6.5' | |
- ruby: '2.7' | |
gemfile: '5.2.7' | |
couchbase: '7.1.0' | |
- ruby: '2.7' | |
gemfile: '6.0.0' | |
couchbase: '6.6.5' | |
- ruby: '2.7' | |
gemfile: '6.0.0' | |
couchbase: '7.1.0' | |
- ruby: '2.7' | |
gemfile: '7.0.0' | |
couchbase: '6.6.5' | |
- ruby: '2.7' | |
gemfile: '7.0.0' | |
couchbase: '7.1.0' | |
# ruby 3.0 minimimun required rails 6.0.3 | |
# - ruby: '3.0' | |
# gemfile: '5.2.7' | |
# couchbase: '6.6.5' | |
# - ruby: '3.0' | |
# gemfile: '5.2.7' | |
# couchbase: '7.1.0' | |
- ruby: '3.0' | |
gemfile: '6.1.7.7' | |
couchbase: '6.6.5' | |
- ruby: '3.0' | |
gemfile: '6.1.7.7' | |
couchbase: '7.1.0' | |
- ruby: '3.0' | |
gemfile: '7.0.0' | |
couchbase: '6.6.5' | |
- ruby: '3.0' | |
gemfile: '7.0.0' | |
couchbase: '7.1.0' | |
fail-fast: false | |
runs-on: ubuntu-20.04 | |
name: ${{ matrix.ruby }} rails-${{ matrix.gemfile }} couchbase-${{ matrix.couchbase }} | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get update && sudo apt-get install libevent-dev libev-dev python-httplib2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: sudo ./ci/run_couchbase.sh $COUCHBASE_VERSION $COUCHBASE_BUCKET $COUCHBASE_USER $COUCHBASE_PASSWORD | |
- run: bundle exec rspec | |
env: | |
ACTIVE_MODEL_VERSION: ${{ matrix.gemfile }} | |
BUNDLE_JOBS: 4 | |
BUNDLE_PATH: vendor/bundle | |
COUCHBASE_BUCKET: default | |
COUCHBASE_USER: tester | |
COUCHBASE_PASSWORD: password123 | |
COUCHBASE_VERSION: ${{ matrix.couchbase }} |