Skip to content

Commit 79b8663

Browse files
authored
Merge pull request #3 from python-project-templates/dependabot/github_actions/codecov/codecov-action-5
Bump codecov/codecov-action from 4 to 5
2 parents 7e612c0 + 1add887 commit 79b8663

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -92,37 +92,7 @@ jobs:
9292
if: ${{ matrix.os == 'ubuntu-latest' }}
9393

9494
- name: Upload coverage
95-
uses: codecov/codecov-action@v4
96-
97-
- name: Upload generated reports
98-
uses: actions/upload-artifact@v4
99-
id: upload-reports
100-
with:
101-
name: reports
102-
path: 'examples/output/*.html'
103-
if-no-files-found: error
104-
overwrite: true
105-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11 && github.event_name == 'pull_request'
106-
107-
- name: Find comment for generated reports
108-
uses: peter-evans/find-comment@v3
109-
id: find-comment
110-
with:
111-
issue-number: ${{ github.event.pull_request.number }}
112-
comment-author: 'github-actions[bot]'
113-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11 && github.event_name == 'pull_request'
114-
115-
- name: Update comment for generated reports
116-
uses: peter-evans/create-or-update-comment@v4
117-
with:
118-
issue-number: ${{ github.event.pull_request.number }}
119-
comment-id: ${{ steps.find-comment.outputs.comment-id }}
120-
edit-mode: replace
121-
body: |-
122-
| Name | Link |
123-
| -------- | ----------------------- |
124-
| Test Reports | [download](${{ steps.upload-reports.outputs.artifact-url }}) |
125-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11 && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'nbprint/nbprint'
95+
uses: codecov/codecov-action@v5
12696

12797
- name: Twine check
12898
run: make dist

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,15 @@ dependencies = [
3737

3838
[project.optional-dependencies]
3939
develop = [
40+
"build",
4041
"bump-my-version",
41-
"isort>=5,<6",
4242
"ruff>=0.3,<0.5",
4343
"twine",
4444
"wheel",
4545
# test
4646
"pytest",
4747
"pytest-cov",
4848
]
49-
test = [
50-
"pytest",
51-
"pytest-cov",
52-
]
5349

5450
[project.entry-points.hatch]
5551
cpp = "hatch_cpp.hooks"

0 commit comments

Comments
 (0)