Skip to content

Commit

Permalink
download coverage artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
kwong0222 committed Sep 24, 2024
1 parent 0403baf commit 145577e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Upload coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
include-hidden-files: 'true'
name: coverage-results
Expand All @@ -33,5 +33,13 @@ jobs:
needs: rspec
runs-on: ubuntu-latest
steps:
- name: Download coverage results
uses: actions/download-artifact@v4
with:
name: coverage-results
path: app/coverage

- name: Coverage report
uses: k1LoW/octocov-action@1ad702b3118b6a055c00b01db68ca0d9f6641dbc # v1.4.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .octocov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# generated by octocov init
coverage:
paths: coverage
paths:
- coverage
acceptable: 100%
comment:
if: is_pull_request
Expand Down

0 comments on commit 145577e

Please sign in to comment.