Skip to content

tannerjones4075- update developer guide (#385) #935

tannerjones4075- update developer guide (#385)

tannerjones4075- update developer guide (#385) #935

name: Integration
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
env:
GITHUB_ACTIONS: true
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 1 }
- uses: actions/setup-go@v3
with: { go-version: '1.x' }
- run: go version
- 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
- name: Launch OpenSearch cluster
run: |
make cluster.clean cluster.build cluster.start
- run: make test-integ race=true
- uses: codecov/codecov-action@v1
with:
file: tmp/integration-client.cov
flags: integration
secured:
name: Tests against secure cluster
runs-on: ubuntu-latest
env:
SECURE_INTEGRATION: true
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 1 }
- uses: actions/setup-go@v3
with: { go-version: '1.x' }
- run: go version
- 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
- name: Launch OpenSearch cluster
run: |
make cluster.clean cluster.build cluster.start
- run: make test-integ-secure