Skip to content

Separated out tests in a different GHA workflow #6

Separated out tests in a different GHA workflow

Separated out tests in a different GHA workflow #6

Workflow file for this run

name: Test Plugin
on:
push:
branches-ignore:
- 'whitesource-remediate/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
java:
- 17
if: github.repository == 'opensearch-project/opensearch-ai-flow-framework'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test Plugin

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 26, Col: 14): Unexpected value '' .github/workflows/test.yml (Line: 27, Col: 9): Unexpected value 'java-version'
java-version: 17
distribution: temurin
- name: Test
run: ./gradlew test
- name: YamlRestTest
run:
./gradlew yamlRestTest
- name: integTest
run:
./gradlew integTest
- name: Upload Coverage Report
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
file: ./build/reports/jacoco/test/jacocoTestReport.xml