34 lines
738 B
YAML
34 lines
738 B
YAML
name: Integration Test
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
container-job:
|
|
runs-on: ubuntu-latest
|
|
# Docker Hub image that `container-job` executes in
|
|
container: node:10.18-jessie
|
|
services:
|
|
redis:
|
|
image: redis
|
|
options: >-
|
|
--health-cmd "redis-cli ping"
|
|
--health-interval 10s
|
|
--health-timeout 5s
|
|
--health-retries 5
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 11
|
|
|
|
- name: Check
|
|
uses: eskatos/gradle-command-action@v1
|
|
with:
|
|
arguments: check
|
|
env:
|
|
DSHACKLE_TEST_ENABLED: redis
|
|
REDIS_HOST: redis
|
|
REDIS_PORT: 6379 |