Skip to content

Ubuntu Java Client Tests main Branch Server #947

Ubuntu Java Client Tests main Branch Server

Ubuntu Java Client Tests main Branch Server #947

name: Ubuntu Java Client Tests main Branch Server
on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:
jobs:
ubuntu-java-client-tests-latest:
runs-on: ubuntu-latest
env:
GODEBUG: x509sha1=1
steps:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Install nats-server
run: |
curl -sf https://binaries.nats.dev/nats-io/nats-server/v2@main | PREFIX=. sh
sudo mv nats-server /usr/local/bin
nats-server -v
- name: Check out Java client code
uses: actions/checkout@v3
with:
repository: nats-io/nats.java
- name: Run Client Unit Tests
run: chmod +x gradlew && ./gradlew test