Skip to content

API Reference Documentation (#8228) #3968

API Reference Documentation (#8228)

API Reference Documentation (#8228) #3968

name: Integration
on:
pull_request:
paths-ignore:
- 'README.md'
- '.editorconfig'
push:
paths-ignore:
- 'README.md'
- '.editorconfig'
branches:
- main
- '[0-9]+.[0-9]+'
- '[0-9]+.x'
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
integration-tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
stack_version: [
'8.0.1',
'8.1.3',
'8.2.3',
'8.3.3',
'8.4.3',
'8.5.3',
'8.6.2',
'8.7.1',
'8.8.0',
'8.9.0-SNAPSHOT',
'latest-8'
]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-dotnet@v4
with:
global-json-file: 'global.json'
- uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*', '**/*.Build.props') }}
restore-keys: |
${{ runner.os }}-nuget-
- uses: actions/cache@v3
with:
path: ~/.local/share/ElasticManaged/elasticsearch-${{ matrix.stack_version }}
key: ${{ runner.os }}-elastic-managed-${{ matrix.stack_version }}
restore-keys: |
${{ runner.os }}-elastic-managed-
- run: "./build.sh integrate ${{ matrix.stack_version }} random:test_only_one --report"
name: ${{ matrix.stack_version }}
- name: Results ${{ matrix.stack_version }}
# only report on if the previous run failed, otherwise this ends up being too noisy
if: ${{ failure() }}
uses: mikepenz/action-junit-report@v2
with:
report_paths: 'build/output/junit-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_failure: true
require_tests: true
check_name: ${{ matrix.stack_version }}