Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TriptiTripathi1234 committed Aug 25, 2022
1 parent ab064b8 commit e768def
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: test
on:
push:
pull_request_target:
pull_request_target:
branches:
- main
- main
# disabling while testing ci flow
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/checkout@v2.3.4
with:
fetch-depth: 0

- name: create checksum file
uses: hypertrace/github-actions/checksum@main

Expand All @@ -28,14 +29,14 @@ jobs:
- name: Unit test
uses: hypertrace/github-actions/gradle@main
with:
with:
args: jacocoTestReport

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
name: unit test reports
flags: unit
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
name: unit test reports
flags: unit

- name: Integration test
uses: hypertrace/github-actions/gradle@main
Expand All @@ -48,22 +49,21 @@ jobs:
name: integration test reports
flags: integration

- name: copy test reports
uses: hypertrace/github-actions/gradle@main
with:
args: copyAllReports --output-dir=/tmp/test-reports

- 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: 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
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
- name: Publish Unit Test Results
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
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

0 comments on commit e768def

Please sign in to comment.