Sha256: 0c922baf52e2ff9794013ac8bfc81735f1e92c8e162f7b968c0ef185f66fe771

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

name: main tests
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  test-ruby:
    env:
      TEST_ES_SERVER: http://localhost:9250
      PORT: 9250
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.7', '3.0', '3.1', 'jruby-9.3' ]
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Increase system limits
      run: |
        sudo swapoff -a
        sudo sysctl -w vm.swappiness=1
        sudo sysctl -w fs.file-max=262144
        sudo sysctl -w vm.max_map_count=262144
    - uses: elastic/elastic-github-actions/elasticsearch@master
      with:
        stack-version: 8.0.0-SNAPSHOT
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Build and test with Rake
      run: |
        sudo apt-get update
        sudo apt-get install libcurl4-openssl-dev
        ruby -v
        bundle install
    - name: unit tests
      run: bundle exec rake test:unit
    - name: specs
      run: bundle exec rake test:spec
    - name: integration tests
      run: bundle exec rake test:integration

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elastic-transport-8.0.1 .github/workflows/tests.yml
elastic-transport-8.0.0 .github/workflows/tests.yml
elastic-transport-8.0.0.pre3 .github/workflows/tests.yml