Skip to content

Commit 29056ec

Browse files
ci(build): harden 3.12 smoke; run via module and echo versions (#38)
1 parent e1baa67 commit 29056ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ jobs:
5353

5454
- name: Package & smoke-test CLI
5555
run: |
56+
set -euxo pipefail
5657
poetry build
5758
poetry run python -m pip install .
58-
mkdir -p _intel
59+
poetry run python -c "import sys, diff_risk_dashboard as m; print(sys.version); print(getattr(m, \"__version__\", \"0.0.0\"))"
60+
rm -rf _intel && mkdir -p _intel
5961
poetry run python -m diff_risk_dashboard.cli examples/sample_apv.json -f md -o _intel/report.md
60-
62+
ls -l _intel/report.md && head -n 5 _intel/report.md
6163
- name: Upload sample report
6264
if: always()
6365
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)