Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI workflow for Java 8 #303

Closed
wants to merge 4 commits into from
Closed
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
37 changes: 37 additions & 0 deletions .github/workflows/reports-scheduler-jdk-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test and Build Reports Scheduler on Java 8

on: [push, pull_request]

env:
OPENSEARCH_VERSION: '1.3.0-SNAPSHOT'

jobs:
build:
name: Test and Build on Java 8
runs-on: ubuntu-latest

steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Checkout Reports Scheduler
uses: actions/checkout@v2

- name: Build with Gradle
run: |
cd reports-scheduler
./gradlew build -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}

- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: 8

- name: Test with Java 8
run: |
cd reports-scheduler
./gradlew integTest -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}