Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4f4caf4
Implement minor config fixes
MattyTheHacker May 31, 2025
b644f3a
Implement minor workflow fixes
MattyTheHacker May 31, 2025
2567f2b
fix stuff
MattyTheHacker May 31, 2025
a458f3b
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] May 31, 2025
3a78e2e
Merge branch 'main' into testing-workflow-changes
MattyTheHacker Jun 3, 2025
e916c52
Merge main into testing-workflow-changes
cssbhamdev Jun 12, 2025
87fc2ef
Merge main into testing-workflow-changes
cssbhamdev Jun 13, 2025
31005c0
Use oidc
MattyTheHacker Jun 13, 2025
d922bbe
Update pyproject.toml
MattyTheHacker Jun 13, 2025
0b331d6
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jun 13, 2025
e1220aa
Fix lock file
MattyTheHacker Jun 13, 2025
f82c837
Merge main into testing-workflow-changes
cssbhamdev Jun 13, 2025
50d3d09
Merge main into testing-workflow-changes
cssbhamdev Jun 14, 2025
1a6ff75
Allow committee-elect to update actions (and appear in auto-complete)…
Thatsmusic99 Jun 15, 2025
bbcc875
Merge main into testing-workflow-changes
cssbhamdev Jun 15, 2025
0e101f6
Merge main into testing-workflow-changes
cssbhamdev Jun 15, 2025
5354193
Merge main into testing-workflow-changes
cssbhamdev Jun 15, 2025
af455f6
Merge main into testing-workflow-changes
cssbhamdev Jun 15, 2025
609d7bf
Yeet the gitpython
MattyTheHacker Jun 16, 2025
45dac3f
Yeet that too
MattyTheHacker Jun 16, 2025
0054144
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jun 16, 2025
23e17b6
Merge branch 'main' into testing-workflow-changes
MattyTheHacker Jun 16, 2025
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
16 changes: 15 additions & 1 deletion .github/workflows/check-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ jobs:
pytest:
needs: [uv-check]
runs-on: ubuntu-latest
permissions:
id-token: write
env:
UV_NO_SYNC: true
UV_FROZEN: true
Expand Down Expand Up @@ -165,7 +167,19 @@ jobs:
key: pytest|${{steps.store-hashed-python-version.outputs.hashed_python_version}}

- name: Run pytest
run: uv run -- pytest # TODO: Add GitHub workflows output format
run: uv run pytest --cov --cov-branch --cov-report=xml --junitxml=junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
use_oidc: true

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v5
if: ${{ !cancelled() }}
with:
use_oidc: true

ruff-lint:
runs-on: ubuntu-latest
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ main = [
"validators>=0.34",
]
pre-commit = ["pre-commit>=4.0"]
test = ["pytest>=8.3"]
test = ["pytest-cov>=6.1", "pytest>=8.3"]
type-check = ["django-stubs[compatible-mypy]>=5.1", "mypy>=1.13", "types-beautifulsoup4>=4.12"]

[project] # TODO: Remove [project] table once https://github.com/astral-sh/uv/issues/8582 is completed
Expand Down Expand Up @@ -207,6 +207,12 @@ parametrize-values-type = "tuple"
keep-runtime-typing = true


[tool.coverage.report]
exclude_also = ["if TYPE_CHECKING:"]
skip_covered = true
sort = "cover"


[tool.pymarkdown]
extensions.front-matter.enabled = true
mode.strict-config = true
Expand Down
Loading