Skip to content

use real domain (#40) #10

use real domain (#40)

use real domain (#40) #10

Workflow file for this run

name: Unit Tests
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Check formatting
run: |
./gradlew ktlintCheck
- name: Run tests
run: |
./gradlew \
:redpulsar-core:test \
:redpulsar-jedis:test \
:redpulsar-lettuce:test \
-DexcludeTags="integration"
- name: Test Coverage
run: |
./gradlew \
:redpulsar-core:koverXmlReport \
:redpulsar-jedis:koverXmlReport \
:redpulsar-lettuce:koverXmlReport \
-DexcludeTags="integration"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}