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

add codecov upload action in coverage.yaml #1197

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
77 changes: 0 additions & 77 deletions .github/workflows/auto-rebase.yaml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we deleting all these files?

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/clippy-lint.yaml

This file was deleted.

50 changes: 40 additions & 10 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,45 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Generate code coverage
run: |
./scripts/tarpaulin.sh
# - name: Generate code coverage
# run: |
# ./scripts/tarpaulin.sh

- name: Archive Tarpaulin code coverage results
uses: actions/upload-artifact@v4
# - name: Archive Tarpaulin code coverage results
# uses: actions/upload-artifact@v4
# with:
# name: tarpaulin-report
# path: |
# protocols/cobertura.xml
# roles/cobertura.xml
# utils/cobertura.xml


- name: Display structure of downloaded files
run: ls -R

- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
name: tarpaulin-report
path: |
protocols/cobertura.xml
roles/cobertura.xml
utils/cobertura.xml
files: ./utils/cobertura.xml ./roles/cobertura.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

# codecov:
# needs: tarpaulin-test

# name: Codecov Upload
# runs-on: ubuntu-latest

# steps:

# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Download all workflow run artifacts
# uses: actions/download-artifact@v3

# - name: Display structure of downloaded files
# run: ls -R


40 changes: 0 additions & 40 deletions .github/workflows/fmt.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/lockfiles.yaml

This file was deleted.

Loading
Loading