diff --git a/.github/workflows/test-tools.yml b/.github/workflows/test-tools.yml index 4ef824a85..e1a039472 100644 --- a/.github/workflows/test-tools.yml +++ b/.github/workflows/test-tools.yml @@ -21,6 +21,10 @@ on: jobs: test: runs-on: ubuntu-latest + env: + OPENSEARCH_VERSION: 2.12.0 + OPENSEARCH_PASSWORD: myStrongPassword123! + OPENSEARCH_URL: https://localhost:9200 steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -33,6 +37,12 @@ jobs: - name: Install Dependencies run: npm install + - name: Run OpenSearch Cluster + working-directory: .github/opensearch-cluster + run: | + docker-compose up -d + sleep 60 + - name: Lint run: npm run lint