Skip to content

Implement network_traffic sensor (#39) #94

Implement network_traffic sensor (#39)

Implement network_traffic sensor (#39) #94

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: "Unit Tests Java ${{ matrix.java }}"
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: ./gradlew assemble
- name: Test with Gradle
run: ./gradlew test
- name: Build JAR
run: ./gradlew jar
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1