enhance test cases #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Build with Gradle | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Check formatting | |
run: | | |
./gradlew ktlintCheck | |
- name: Archive linter report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ktlint-report | |
path: build/reports/ktlint/**/*.txt | |
- name: Run tests | |
run: | | |
./gradlew \ | |
:redpulsar-core:test \ | |
:redpulsar-jedis:test \ | |
:redpulsar-lettuce:test \ | |
-DexcludeTags="integration" | |
- name: Archive test report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-report | |
path: build/test-results/**/*.xml |