Skip to content

Count down latch

Count down latch #33

name: Integration tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
integration-tests:
runs-on: ubuntu-latest
services:
redis1:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6381:6379
redis2:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6382:6379
redis3:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6383:6379
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run tests
run: |
./gradlew \
:redpulsar-core:test \
:redpulsar-jedis:test \
:redpulsar-lettuce:test \
-DexcludeTags="unit"
- name: Archive test report
uses: actions/upload-artifact@v3
with:
name: test-report
path: build/test-results/**/*.xml