From 5d6b87d17a8a504c2b8f60a83f1cb69c4664e9ac Mon Sep 17 00:00:00 2001 From: "quant-ranger[bot]" <132915763+quant-ranger[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 00:06:31 +0000 Subject: [PATCH] Update copier template to v0.2.0 --- .copier-answers.yml | 2 +- .github/workflows/build.yml | 2 ++ pixi.toml | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) 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 = "*"