diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 747cfae..bdbeab1 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -43,3 +43,15 @@ jobs: - name: Run Unit Tests run: ./gradlew testDebugUnitTest + + - name: Prepare Coverage for Pages + if: github.ref == 'refs/heads/main' + run: | + mkdir -p public/coverage + cp -r app/build/reports/coverage/androidTest/debug/connected/* public/coverage/ + - name: Deploy Coverage to GitHub Pages + if: github.ref == 'refs/heads/main' + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: public \ No newline at end of file