Skip to content

Bump lycheeverse/lychee-action from 2.1.0 to 2.2.0 #2437

Bump lycheeverse/lychee-action from 2.1.0 to 2.2.0

Bump lycheeverse/lychee-action from 2.1.0 to 2.2.0 #2437

Workflow file for this run

name: Integration for Compatibility
# trigger on every commit push and PR for all branches
on:
push:
branches: ['**']
paths-ignore:
- '**/*.md'
pull_request:
branches: ['**']
paths-ignore:
- '**/*.md'
jobs:
integration-test-compatibility:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
secured: ['true', 'false']
entry:
- { opensearch_version: 1.1.0 }
- { opensearch_version: 1.2.4 }
- { opensearch_version: 1.3.19 }
- { opensearch_version: 2.2.1 }
- { opensearch_version: 2.6.0 }
- { opensearch_version: 2.12.0 }
- { opensearch_version: 2.16.0 }
- { opensearch_version: 2.17.0 }
env:
OPENSEARCH_VERSION: ${{ matrix.entry.opensearch_version }}
SECURE_INTEGRATION: ${{ matrix.secured }}
steps:
- uses: actions/checkout@v4
- name: Configure sysctl 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
- name: Runs OpenSearch cluster
id: start_opensearch_cluster
run: |
make cluster.clean cluster.opensearch.build cluster.opensearch.start
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install
run: |
npm install
- name: Integration test without security
if: ${{ matrix.secured == 'false'}}
run: |
npm run test:integration:helpers
- name: Integration test with security
if: ${{ matrix.secured == 'true'}}
run: |
npm run test:integration:helpers-secure
- name: Stop the OpenSearch cluster
if: ${{ steps.start_opensearch_cluster.outcome == 'success'}}
run: |
make cluster.opensearch.stop