Increment version to 1.3.20-SNAPSHOT (#1286) #1070
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: Test Anomaly detection BWC | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
Build-ad: | |
strategy: | |
matrix: | |
java: [11, 14] | |
fail-fast: false | |
name: Test Anomaly detection BWC | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
# anomaly-detection | |
- name: Checkout AD | |
uses: actions/checkout@v2 | |
- name: Assemble anomaly-detection | |
run: | | |
plugin_version=`./gradlew properties -q | grep "opensearch_build:" | awk '{print $2}'` | |
echo plugin_version $plugin_version | |
./gradlew assemble | |
echo "Creating ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version ..." | |
mkdir -p ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version | |
echo "Copying ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version ..." | |
ls ./build/distributions/ | |
cp ./build/distributions/*.zip ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version | |
echo "Copied ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version ..." | |
ls ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version | |
- name: Run AD Backwards Compatibility Tests | |
run: | | |
echo "Running backwards compatibility tests ..." | |
./gradlew bwcTestSuite -Dtests.security.manager=false |