Skip to content

Commit

Permalink
ci: CI init
Browse files Browse the repository at this point in the history
  • Loading branch information
zinzoddari committed Dec 17, 2023
1 parent 0cf6847 commit c7ed427
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: YES SLAVE CI with Gradle

on:
pull_request:
branches: [ "develop", "YSL-*" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: compileJava

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Run Tests
run: ./gradlew test

0 comments on commit c7ed427

Please sign in to comment.