Skip to content

Fix avro vulnerability (#46) #98

Fix avro vulnerability (#46)

Fix avro vulnerability (#46) #98

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: create checksum file
uses: hypertrace/github-actions/checksum@main
- name: Cache packages
id: cache-packages
uses: actions/cache@v2
with:
path: ~/.gradle
key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }}
restore-keys: |
gradle-packages-${{ runner.os }}-${{ github.job }}
gradle-packages-${{ runner.os }}
- name: Unit test
uses: hypertrace/github-actions/gradle@main
with:
args: jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
name: unit test reports
flags: unit
- name: copy test reports
uses: hypertrace/github-actions/gradle@main
with:
args: copyAllReports --output-dir=/tmp/test-reports
- name: Archive test reports
uses: actions/upload-artifact@v1
with:
name: test-reports
path: /tmp/test-reports
if: always()
- name: Publish Unit Test Results
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
continue-on-error: true
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: ./**/build/test-results/**/*.xml