diff --git a/.copier-answers.yaml b/.copier-answers.yaml index d8efeaf..956848c 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: fdea3fe +_commit: 41c2f2c _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: cpp diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b8301b0..25f8e89 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -139,18 +139,14 @@ jobs: CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" if: matrix.os == 'windows-latest' - - name: Test wheel install - run: | - python -m venv /tmp/test-wheel - /tmp/test-wheel/bin/pip install dist/*.whl - /tmp/test-wheel/bin/python -c "import python_template_cpp" + - uses: actions-ext/python/test-wheel@main + with: + module: python_template_cpp if: matrix.os == 'ubuntu-latest' - - name: Test sdist install - run: | - python -m venv /tmp/test-sdist - /tmp/test-sdist/bin/pip install dist/*.tar.gz - /tmp/test-sdist/bin/python -c "import python_template_cpp" + - uses: actions-ext/python/test-sdist@main + with: + module: python_template_cpp if: matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v7