Register new test classes in runner and API #24
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: Package Check | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| package-check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install build and twine | |
| run: pip install build twine | |
| - name: Build sdist and wheel | |
| run: python -m build | |
| - name: Check distribution with twine | |
| run: twine check dist/* | |
| - name: Install wheel and verify import | |
| run: | | |
| pip install dist/*.whl | |
| python -c "import agp; print('agp version:', agp.__version__)" |