Sha256: 6a05519d790061dd517ee8d02748abb5974bb43e8a2c10d5b5ad413be834b848

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

name: tests-dev-preview

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

jobs:
  test:

    runs-on: ubuntu-latest

    services:
      couchbase:
        image: couchbase:enterprise-6.5.1
        ports:
          - 8091-8094:8091-8094
          - 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
        env:
          DEVELOPER_PREVIEW: yes

      - 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: Run tests
        run: bundle exec rake test
        env:
          DEVELOPER_PREVIEW: yes
          TEST_SERVER_VERSION: 6.5.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.3-x86_64-linux .github/workflows/tests-dev-preview.yml
couchbase-3.0.0.alpha.3-x86_64-darwin-19 .github/workflows/tests-dev-preview.yml
couchbase-3.0.0.alpha.3-universal-darwin-19 .github/workflows/tests-dev-preview.yml
couchbase-3.0.0.alpha.3 .github/workflows/tests-dev-preview.yml