Test PyPI Installation #125
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test PyPI Installation | |
| on: | |
| workflow_run: | |
| workflows: ["Build, Test, and Publish Python Package"] | |
| types: | |
| - completed | |
| jobs: | |
| test-pypi-install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install package from PyPI | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install CheckmateSample | |
| - name: Test import | |
| run: | | |
| python -c "import CheckmateSample; print(CheckmateSample.__version__)" |