diff --git a/.copier-answers.yml b/.copier-answers.yml index 86b249d..e6759e1 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # This file is managed by Copier; DO NOT EDIT OR REMOVE. -_commit: v0.1.0-2-g162001d +_commit: v0.2.0 _src_path: https://github.com/quantco/copier-template-python-open-source add_autobump_workflow: false author_email: noreply@quantco.com diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e64c300..3e43f9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,8 @@ jobs: environments: build - name: Build project run: pixi run -e build build-wheel + - name: Check package + run: pixi run -e build check-wheel - name: Upload package uses: actions/upload-artifact@v4 with: diff --git a/pixi.toml b/pixi.toml index 7e2c5b8..3447f45 100644 --- a/pixi.toml +++ b/pixi.toml @@ -24,9 +24,11 @@ test = "pytest" test-coverage = "pytest --cov=multiregex --cov-report=xml --cov-report=term-missing" [feature.build.dependencies] -build = "*" +python-build = "*" +twine = "*" [feature.build.tasks] build-wheel = "python -m build --no-isolation ." +check-wheel = "twine check dist/*" [feature.lint.dependencies] pre-commit = "*"