Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/sandbox-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Sandbox Check
on:
push:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
sandbox-check:
if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
continue-on-error: true
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: 25
distribution: temurin
cache: gradle
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Run sandbox check
run: ./gradlew check -p sandbox
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: sandbox-test-results
path: sandbox/**/build/reports/tests/
retention-days: 7
Loading