Skip to content

Separated out tests in a different GHA workflow #1

Separated out tests in a different GHA workflow

Separated out tests in a different GHA workflow #1

Workflow file for this run

name: Test Plugin
on:
push:
branches-ignore:
- 'whitesource-remediate/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
java:
- 17
test:
if: github.repository == 'opensearch-project/opensearch-ai-flow-framework'
runs-on: ${{ matrix.os }}

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
steps:
- uses: actions/checkout@v4
- 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