Add base64 to gemspec #498
Workflow file for this run
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: Integration | |
on: | |
push: | |
branches: | |
- "*" | |
paths-ignore: | |
- '*.md' | |
pull_request: | |
branches: | |
- "*" | |
paths-ignore: | |
- '*.md' | |
jobs: | |
test-opensearch: | |
env: | |
TEST_OPENSEARCH_SERVER: http://localhost:9250 | |
PORT: 9250 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 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: ./.github/actions/opensearch | |
with: | |
# TODO: change cluster-version back to `latest` after OS 2.9.1 or later is released | |
cluster-version: "2.8.0" | |
disable-security: true | |
- 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: Run All Tests | |
run: rake test:all | |
test-opensearch-faraday-1: | |
env: | |
TEST_OPENSEARCH_SERVER: http://localhost:9250 | |
PORT: 9250 | |
FARADAY_VERSION: '~> 1.0' | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, 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: ./.github/actions/opensearch | |
with: | |
# TODO: change cluster-version back to `latest` after OS 2.9.1 or later is released | |
cluster-version: "2.8.0" | |
disable-security: true | |
- 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: Test Faraday on Transport Layer | |
run: rake test:transport:all | |
test-opensearch-security: | |
env: | |
TEST_OPENSEARCH_SERVER: https://admin:admin@localhost:9200 | |
PORT: 9200 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 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: ./.github/actions/opensearch | |
with: | |
cluster-version: latest | |
disable-security: false | |
- 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 | |
sudo apt-get install ca-certificates | |
ruby -v | |
bundle install | |
- name: Test Client Security | |
run: rake test:client:security |