mirror of
https://github.com/umbra2728/ctfd-mcp.git
synced 2026-02-07 22:08:12 +03:00
test: migrate to pytest
Replace unittest-based coverage with pytest and update CI/docs to run the new suite.
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
run: uv sync --frozen --no-editable
|
||||
|
||||
- name: Run tests
|
||||
run: uv run python -m unittest discover -s tests
|
||||
run: uv run pytest
|
||||
|
||||
- name: Build distributions
|
||||
run: uv build --no-sources
|
||||
@@ -63,4 +63,4 @@ jobs:
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
packages_dir: dist
|
||||
packages-dir: dist
|
||||
|
||||
Reference in New Issue
Block a user