Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit fee2646

Browse files
committed
Add test build for GitHub Actions
1 parent 425f4d6 commit fee2646

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test-linux.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build (Linux)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
services:
14+
rabbitmq:
15+
image: rabbitmq:3.8
16+
ports:
17+
- 5672:5672
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: 1.8
26+
27+
- name: Test
28+
run: ./gradlew check -i -s
29+
env:
30+
RABBITMQCTL_BIN: DOCKER:${{job.services.rabbitmq.id}}

0 commit comments

Comments
 (0)