Skip to content

Commit

Permalink
Updated workflow to exclude thirdparty from codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
nawaz1991 committed Jul 9, 2024
1 parent 008b160 commit 3162a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 51 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/create-release.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: cp -r build/debug/covhtml-oasvalidator build/debug/docs/html

- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.MY_PAT }}
publish_dir: build/debug/docs/html
Expand All @@ -78,9 +78,10 @@ jobs:
run: |
lcov --capture --directory . --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --remove coverage.info '*/thirdparty/*' --output-file coverage.info
lcov --list coverage.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3162a74

Please sign in to comment.