Update gradle locks (Automated) #877
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Unit test and other verification | |
uses: hypertrace/github-actions/gradle@main | |
with: | |
args: check jacocoTestReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
name: unit test reports | |
flags: unit | |
- name: Integration test | |
uses: hypertrace/github-actions/gradle@main | |
with: | |
args: jacocoIntegrationTestReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
name: integration test reports | |
flags: integration | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
files: ./**/build/test-results/**/*.xml | |
validate-helm-charts: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: validate charts | |
uses: hypertrace/github-actions/validate-charts@main | |
with: | |
check-pod-template: false | |
dependency-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Dependency Check | |
uses: hypertrace/github-actions/dependency-check@main |