Update .gitea/workflows/test.yml
This commit is contained in:
@@ -62,22 +62,17 @@ jobs:
|
||||
--md-report-flavor=gfm \
|
||||
--md-report-verbose=2 || true
|
||||
|
||||
pixi run pytest tests \
|
||||
--json-report \
|
||||
--json-report-file=ci-reports/markdown/pytest-report.json || true
|
||||
|
||||
|
||||
|
||||
allure generate allure-results -o ci-reports/allure --clean || true
|
||||
coverage report --format=markdown > ci-reports/markdown/coverage-summary.md
|
||||
|
||||
python generate_test_summary.py # (laisse ton script custom)
|
||||
|
||||
- name: Run pytest with JSON report
|
||||
run: |
|
||||
export PATH="$HOME/.pixi/bin:$PATH"
|
||||
source "$VIRTUAL_ENV/bin/activate"
|
||||
mkdir -p ci-reports
|
||||
pixi run pytest tests \
|
||||
--json-report \
|
||||
--json-report-file=ci-reports/markdown/pytest-report.json || true
|
||||
|
||||
|
||||
|
||||
- name: Commit and push reports in markdown format
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user