Merge pull request #321 from gregschohn/RemoveAuthorizationHeaderFix #156
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: 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 |