From ed69c24131e89e281fe7bce550898ba586ae897d Mon Sep 17 00:00:00 2001 From: Jannis Mittenzwei Date: Thu, 12 Dec 2024 12:50:00 +0100 Subject: [PATCH] resolved conversation --- .github/workflows/report.yml | 9 ++++++--- doc/changes/unreleased.md | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index f37e6a89e..825322dee 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -31,9 +31,12 @@ jobs: working-directory: ./artifacts run: | poetry run coverage combine --keep coverage-python3.9*/.coverage - cp .coverage ../ - cp lint-python3.9/.lint.txt ../ - cp security-python3.9/.security.json ../ + cp .coverage ../ || true + cp lint-python3.9/.lint.txt ../ || true + cp security-python3.9/.security.json ../ || true + + - name: Validate Artifacts + run: poetry run nox -s artifacts:validate - name: Generate Report run: poetry run nox -s project:report -- -- --format json | tee metrics.json diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 69265abb8..0fcd2bc45 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -4,6 +4,10 @@ * Added new entries to the frequently asked questions regarding `multiversion documentation` +## ✨ Added + +* Added a nox task to validate the build/test artifacts and use it in the github workflow report + ## 🐞 Fixed * Added multi-version extension to Sphinx configuration of the project template