Skip to content

MIGRATIONS-1289: Remove refactoring secretcache and unit test change … #105

MIGRATIONS-1289: Remove refactoring secretcache and unit test change …

MIGRATIONS-1289: Remove refactoring secretcache and unit test change … #105

name: Gradle Build and Test
on: [push, pull_request]
jobs:
gradle-build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Run Gradle Build
run: ./gradlew build -x test
working-directory: TrafficCapture
- name: Run Tests with Coverage
run: ./gradlew test jacocoTestReport --info
working-directory: TrafficCapture
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
files: "TrafficCapture/**/jacocoTestReport.xml"
flags: unittests
fail_ci_if_error: false