Skip to content

Commit 3d4f9ce

Browse files
committed
debt: Drop archiving code coverage reports
- Redundant with CodeCov integration - Gitignore ruff cache and node modules for IDE highlighting - Bumped ruff minimum Python version to 3.8
1 parent 0e6ffc8 commit 3d4f9ce

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ body:
2929
description: What version of our software are you running?
3030
placeholder: |
3131
python 3.12.0
32-
pyprojectsort 0.3.0
32+
pyprojectsort 0.4.0
3333
- type: textarea
3434
id: how-to-reproduce
3535
attributes:

.github/workflows/main.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ jobs:
2222
- name: Run tests
2323
run: uv run pytest
2424

25-
- name: Archive code coverage results
26-
uses: actions/upload-artifact@v3
27-
with:
28-
name: code-coverage-report
29-
path: .reports/
30-
retention-days: 5
31-
3225
- name: Upload coverage reports to Codecov
3326
uses: codecov/codecov-action@v5
3427
with:

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ junit.xml
8686
.reports/
8787
docs/
8888

89+
# Ruff linting - for IDE highlighting - as internals already ignored
90+
.ruff_cache/
91+
92+
# Node modules - for IDE highlighting - as internals already ignored
93+
node_modules/
94+
8995
# Translations
9096
*.mo
9197
*.pot

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ Source = "https://github.com/kieran-ryan/pyprojectsort"
6767
Tracker = "https://github.com/kieran-ryan/pyprojectsort/issues"
6868

6969
[tool.coverage.html]
70-
directory = ".reports"
70+
directory = ".reports/coverage"
71+
show_contexts = true
7172

7273
[tool.coverage.report]
7374
exclude_lines = [
@@ -98,7 +99,7 @@ testpaths = [
9899
]
99100

100101
[tool.ruff]
101-
target-version = "py37"
102+
target-version = "py38"
102103

103104
[tool.ruff.lint]
104105
ignore = [

0 commit comments

Comments
 (0)