[Backport 2.x] Fix: typo in MLAlgoParams #2889
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 MLCommons BWC | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
Build-ad: | |
strategy: | |
matrix: | |
java: [11,17] | |
fail-fast: false | |
name: Test MLCommons BWC | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
# ml-commons | |
- name: Checkout MLCommons | |
uses: actions/checkout@v2 | |
- name: Assemble MLCommons | |
run: | | |
plugin_version=`./gradlew properties -q | grep "opensearch_build:" | awk '{print $2}'` | |
echo plugin_version $plugin_version | |
./gradlew assemble | |
echo "Creating ./plugin/src/test/resources/org/opensearch/ml/bwc..." | |
mkdir -p ./plugin/src/test/resources/org/opensearch/ml/bwc | |
- name: Run MLCommons Backwards Compatibility Tests | |
run: | | |
echo "Running backwards compatibility tests ..." | |
./gradlew bwcTestSuite -Dtests.security.manager=false |