Skip to content

Commit

Permalink
test clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhunt27 committed Sep 20, 2023
1 parent e233895 commit a492f29
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/samples/main-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ jobs:
uses: dkhunt27/nx-code-coverage@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
no-coverage-ran: false
coverage-folder: ./coverage
coverage-base-folder: ./coverage-base
gist-processing: true
gist-token: ${{ secrets.COVERAGE_BADGES_GIST_TOKEN }}
gist-id: SOME_GIST_ID
color: green
Expand Down
2 changes: 2 additions & 0 deletions .github/samples/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ jobs:
uses: dkhunt27/nx-code-coverage@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
no-coverage-ran: false
coverage-folder: ./coverage
coverage-base-folder: ./coverage-base
gist-processing: true
gist-token: ${{ secrets.COVERAGE_BADGES_GIST_TOKEN }}
gist-id: SOME_GIST_ID
color: green
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
no-coverage-ran: false
coverage-folder: ./__tests__/data/coverage
coverage-base-folder: ./__tests__/data/coverage-base
gist-processing: true
gist-token: ${{ secrets.COVERAGE_BADGE_GIST_TOKEN }}
gist-id: e7882d4560f635dce4a889df5e29d209
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ inputs:
required: true
description: Github token
no-coverage-ran:
required: false
description: true/false (default false) if no coverage was ran; useful if using nx affected and it returned no projects
required: true
description: true/false if no coverage was ran; useful if using nx affected and it returned no projects
type: boolean
coverage-folder:
required: false
Expand All @@ -19,8 +19,8 @@ inputs:
required: false
description: path to folder containing project folders with coverage data for diff/base comparison (default 'coverage-base')
gist-processing:
required: false
description: true/false (default true) should save results/badge to gist
required: true
description: true/false should save results/badge to gist
type: boolean
gist-token:
required: false
Expand Down

0 comments on commit a492f29

Please sign in to comment.