From 69ae8ba21f9b6d0cbe9db674ec5a2f05fcfa90d6 Mon Sep 17 00:00:00 2001 From: diegoferigo Date: Thu, 13 Jul 2023 18:34:15 +0200 Subject: [PATCH] Check PEP440 compliance in CI/CD --- .github/workflows/ci_cd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e6edbaf..6009fda 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -43,6 +43,11 @@ jobs: - name: Run twine check run: twine check dist/* + - name: Check PEP440 compliance + run: | + pip install packaging setuptools_scm + python -c "import packaging.version as v; v.Version(\"$(python -m setuptools_scm)\")" + - name: Upload artifacts uses: actions/upload-artifact@v3 with: