Skip to content

Commit

Permalink
Adds : to avoid sample-resource-plugin tests from being triggered unn…
Browse files Browse the repository at this point in the history
…ecessarily

Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Jan 19, 2025
1 parent 194fec3 commit bf81c46
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
with:
cache-disabled: true
arguments: |
integrationTest -Dbuild.snapshot=false
:integrationTest -Dbuild.snapshot=false
- name: Run SampleResourcePlugin Integration Tests
uses: gradle/gradle-build-action@v3
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
with:
cache-disabled: true
arguments: |
integrationTest -Dbuild.snapshot=false --tests org.opensearch.security.ResourceFocusedTests
:integrationTest -Dbuild.snapshot=false --tests org.opensearch.security.ResourceFocusedTests
backward-compatibility-build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -249,12 +249,6 @@ jobs:
security_plugin_version_only_number=$(echo $security_plugin_version_no_snapshot | cut -d- -f1)
test_qualifier=alpha2
# Export variables to GitHub Environment
echo "SECURITY_PLUGIN_VERSION=$security_plugin_version" >> $GITHUB_ENV
echo "SECURITY_PLUGIN_VERSION_NO_SNAPSHOT=$security_plugin_version_no_snapshot" >> $GITHUB_ENV
echo "SECURITY_PLUGIN_VERSION_ONLY_NUMBER=$security_plugin_version_only_number" >> $GITHUB_ENV
echo "TEST_QUALIFIER=$test_qualifier" >> $GITHUB_ENV
# Debug print versions
echo "Versions:"
echo $security_plugin_version
Expand Down

0 comments on commit bf81c46

Please sign in to comment.