Enhance pre-commit configuration and update test workflow for better results reporting
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 7s
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 7s
This commit is contained in:
parent
c3b0a12c32
commit
b52690549b
@ -27,4 +27,10 @@ jobs:
|
||||
run: uv sync --locked --all-extras --dev
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
|
||||
run: uv run pytest tests --junit-xml=pytest-results.xml
|
||||
|
||||
- name: Publish Test Results
|
||||
if: always()
|
||||
uses: actions/upload-test-results@v2
|
||||
with:
|
||||
files: pytest-results.xml
|
||||
@ -7,4 +7,16 @@ repos:
|
||||
language: system
|
||||
types: [python]
|
||||
pass_filenames: false
|
||||
always_run: true
|
||||
always_run: true
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
# uv version.
|
||||
rev: 0.7.9
|
||||
hooks:
|
||||
- id: uv-lock
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
# uv version.
|
||||
rev: 0.7.9
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
args: [ requirements.in, -o, requirements.txt ]
|
||||
Loading…
x
Reference in New Issue
Block a user