Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try with coverage report on gh #3

Merged
merged 21 commits into from
Nov 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
give up on github pages code report for now
tiagocoutinho committed Nov 23, 2023
commit 9ec76f04e600c62e837cc9bf773cdfb79128e389
27 changes: 0 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -81,30 +81,3 @@ jobs:
recreate: true
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

deploy:
runs-on: ubuntu-latest
needs: tests
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"

- name: Create and switch to gh-pages branch
run: |
git checkout gh-pages
git fetch origin gh-pages:gh-pages

- name: Copy coverage HTML report from artifact
run: |
cp -r ${{ needs.tests.outputs.artifacts_directory }}/htmlcov/* .

- name: Commit and push changes
run: |
git add .
git commit -m "Update coverage HTML report"
git push origin gh-pages