Skip to content

Commit

Permalink
switch to octocov
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Mar 1, 2024
1 parent a94a790 commit 7f2798d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:
run: poetry install
- name: Run tests
run: poetry run pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: cov.xml
- uses: k1LoW/octocov-action@v1

check:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -67,6 +63,7 @@ jobs:
run: poetry run ruff check --output-format github
- name: Run pyright
run: poetry run pyright

format:
runs-on: ubuntu-latest
steps:
Expand Down
20 changes: 20 additions & 0 deletions .octocov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
coverage:
if: true
paths:
- cov.xml
testExecutionTime:
if: true
diff:
if: is_pull_request
datastores:
- artifact://${GITHUB_REPOSITORY}
body:
if: is_pull_request
hideFooterLink: true
summary:
if: true
hideFooterLink: true
report:
if: is_default_branch
datastores:
- artifact://${GITHUB_REPOSITORY}

0 comments on commit 7f2798d

Please sign in to comment.