Skip to content

Commit

Permalink
test: update test report html
Browse files Browse the repository at this point in the history
  • Loading branch information
looppoolloop authored Mar 4, 2024
1 parent 1724922 commit bb1f091
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: frontend-coverage-report
path: client/memo-minder-web/coverage/index.html
path: client/memo-minder-web/coverage

- name: Set coverage report output
run: echo "coverage_report=https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" >> $GITHUB_ENV
- name: Deploy test report to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./coverage

- name: Display coverage report link
run: echo "Coverage report is available at $coverage_report"
run: echo "Coverage report is available at https://${{ github.repository }}/coverage/index.html"

backend-build-and-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bb1f091

Please sign in to comment.