Skip to content

Changed 2.17 to closed #120

Changed 2.17 to closed

Changed 2.17 to closed #120

Workflow file for this run

name: Build and Test the Code
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Java 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
- name: Run build and test
run: |
./gradlew clean build
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: opensearch-metrics-coverage-reports
path: |
./build/reports/