Sha256: 3241943bc0c4785967a1094adae44ba98f1a1327273e3ff5a1e1fd2e619edcd7

Contents?: true

Size: 1007 Bytes

Versions: 8

Compression:

Stored size: 1007 Bytes

Contents

name: tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:

    runs-on: ubuntu-latest

    services:
      couchbase:
        image: couchbase
        ports:
          - 8091-8095:8091-8095
          - 11210:11210

    steps:
      - name: Install build environment
        run: sudo apt-get install -y libssl-dev cmake gcc g++ curl

      - uses: actions/checkout@v2
        with:
          submodules: recursive

      - name: Set up ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6

      - name: Install dependencies
        run: bundle install

      - name: Initialize couchbase
        run: ./bin/init-cluster

      - name: Compile extension
        run: bundle exec rake compile

      - name: Display library version
        run: bundle exec ruby -I lib -r couchbase -e 'pp Couchbase::VERSION'

      - name: Check couchbase
        run: ./bin/check-cluster

      - name: Run tests
        run: bundle exec rake test

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.5-x86_64-linux .github/workflows/tests.yml
couchbase-3.0.0.alpha.5-universal-darwin-19 .github/workflows/tests.yml
couchbase-3.0.0.alpha.5-x86_64-darwin-19 .github/workflows/tests.yml
couchbase-3.0.0.alpha.5 .github/workflows/tests.yml
couchbase-3.0.0.alpha.4-x86_64-linux .github/workflows/tests.yml
couchbase-3.0.0.alpha.4-x86_64-darwin-19 .github/workflows/tests.yml
couchbase-3.0.0.alpha.4-universal-darwin-19 .github/workflows/tests.yml
couchbase-3.0.0.alpha.4 .github/workflows/tests.yml