Skip to content

Commit

Permalink
Merge pull request #19 from theam/feature/added-ci-build-test
Browse files Browse the repository at this point in the history
WIP: Add: started working on testing GHA CI workflow
  • Loading branch information
javiertoledo authored Aug 31, 2023
2 parents 95ed238 + c2ef428 commit 383b311
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/wf_build-test-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Continuous Integration

on:
pull_request:
branches: [ "main", "release" ]
workflow_dispatch:

env:
# TODO: keep these JAVA and GRADLE configs for now but check
# if needed in the future
JAVA_OPTS: -Xms512m -Xmx1024m
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.configureondemand=true -Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

jobs:
build_artifacts:

runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'

- name: Build and Test with Gradle
run: ./gradlew test

0 comments on commit 383b311

Please sign in to comment.