Skip to content

Commit

Permalink
Merge pull request #1 from mslalith/github_workflows
Browse files Browse the repository at this point in the history
Add GitHub workflows
  • Loading branch information
mslalith authored Jun 4, 2022
2 parents 3595bf8 + bd56df9 commit 6519bec
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
pull_request:
push:
branches:
- optimize_workflow
workflow_dispatch:

jobs:
setup:
if: "!contains(github.event.head_commit.message, 'ci(skip)')"
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'

- name: Run unit tests
run: ./gradlew test

0 comments on commit 6519bec

Please sign in to comment.