* More GH Actions goodies * Add RabbitMQ, MongoDB & Redis services into GH actions * Remove Travis * * Add `distributionSha256Sum` into `gradle-wrapper.properties` * Try `TERM: dumb` to see difference for Gradle output in GH action * Add `-S` to see the reason of test failure * * Try MQTT plugin for RabbitMQ image * * Try `-i` for test failure in Gradle on Actions * * Use `eclipse-mosquitto` image for MQTT on actions * Fix `FtpServerOutboundTests` for the proper FTP file list * Output file list for the failed session in the `RotatingServersTests` * * Adjust SOUT in the test for Checkstyle * * Make some change to `RotatingServersTests`. Looks like the order for `@BeforeAll` methods is not determined and we may start to interaction with FTP server which is not started yet * Fix SSL Handshake Test - we already made this change for the NIO test, but the NET test is failing the same way - the cert failure switched to the server so the expected exception was not thrown on the client side. Due to JVM changes. * * Fix SFTP tests for wrong host and auto-startup state * Remove `-i` for Gradle in the GH Actions * * Try `--no-parallel` for Gradle in the GH Actions * * Try GH actions without Mosquitto * * Try `cyrilix/rabbitmq-mqtt` for GH Actions Co-authored-by: Gary Russell <grussell@pivotal.io>
47 lines
792 B
YAML
47 lines
792 B
YAML
name: Pull Request build
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
services:
|
|
|
|
rabbitmq:
|
|
image: cyrilix/rabbitmq-mqtt
|
|
ports:
|
|
- 5672:5672
|
|
- 15672:15672
|
|
- 1883:1883
|
|
|
|
mongodb:
|
|
image: mongo
|
|
ports:
|
|
- 27017:27017
|
|
|
|
redis:
|
|
image: redis
|
|
ports:
|
|
- 6379:6379
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 11
|
|
|
|
- name: Run Gradle
|
|
uses: burrunan/gradle-cache-action@v1
|
|
env:
|
|
SI_FATAL_WHEN_NO_BEANFACTORY: true
|
|
NO_REFERENCE_TASK: true
|
|
with:
|
|
arguments: checkAsciidocLinks check
|