Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (38 sloc) 1.02 KB
name: Test
on:
push:
branches:
- master
pull_request:
types: [opened, reopened]
jobs:
test:
runs-on: ubuntu-18.04
services:
dynamodb:
image: amazon/dynamodb-local:1.11.477
ports:
- 8000:8000
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/cache@v1
name: Load cached Gradle Wrapper
with:
path: ~/.gradle/wrapper/dists/
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- uses: actions/cache@v1
name: Load cached dependency
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Check Gradle Version
run: |
chmod +x gradlew
./gradlew --version
- name: Test task with Gradle Wrapper
run: |
./gradlew --parallel --max-workers=2 test
You can’t perform that action at this time.